ccrypt installation produce an error when installed at the same time than emacsen-common

Bug #282411 reported by zippidy_josh
6
Affects Status Importance Assigned to Milestone
ccrypt (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ccrypt

I'm using Hardy 8.04.
I did a
   sudo aptitude install git-core xemacs21 octave3.0-emacsen emacs octave3.0 python perl ccrypt python-doc perl-doc
and got a crash message saying the ccrypt install failed. However, the aptitude command completed successfully.
Looks like it also didn't manage to install python-doc and perl-doc, but when I redo the command, it works fine, installing the remaining packages it missed the first time.

ProblemType: Package
Architecture: i386
Date: Sun Oct 12 13:39:02 2008
Dependencies:
 libgcc1 1:4.2.3-2ubuntu7
 gcc-4.2-base 4.2.3-2ubuntu7
 libc6 2.7-10ubuntu4
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess post-installation script returned error exit status 2
Package: ccrypt 1.7-11
PackageArchitecture: i386
SourcePackage: ccrypt
Title: package ccrypt 1.7-11 failed to install/upgrade: subprocess post-installation script returned error exit status 2
Uname: Linux 2.6.24-19-generic i686

:: Test Case ::
aptitude install emacsen-common ccrypt

Then the following error occurs:
Setting up ccrypt (1.7-11) ...
ERROR: emacsen-common being used before being configured.
ERROR: This is likely a bug in the ccrypt package, which needs to
ERROR: add one of the appropriate dependencies.
ERROR: See /usr/share/doc/emacsen-common/debian-emacs-policy.gz
ERROR: for details.
dpkg: error processing ccrypt (--configure):
 subprocess post-installation script returned error exit status 2
Setting up emacsen-common (1.4.17) ...
emacsen-common: Handling install of emacsen flavor emacs

Errors were encountered while processing:
 ccrypt
E: Sub-process /usr/bin/dpkg returned an error code (1)

:: Workaround ::
install in 2 steps emacsen-common then ccrypt

Related branches

Revision history for this message
zippidy_josh (redstone) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

Confirmed in Intrepid. This happens when you install emacsen-common and ccrypt at the same time. It seems to be harmless because the installer recover the error at the end of the installation but a less alarming message could be more user friendly.

black:~# aptitude install emacsen-common ccrypt
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
  ccrypt emacsen-common
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/88.8kB of archives. After unpacking 406kB will be used.
Writing extended state information... Done
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Selecting previously deselected package ccrypt.
(Reading database ... 203715 files and directories currently installed.)
Unpacking ccrypt (from .../ccrypt_1.7-11_i386.deb) ...
Selecting previously deselected package emacsen-common.
Unpacking emacsen-common (from .../emacsen-common_1.4.17_all.deb) ...
Processing triggers for man-db ...
Setting up ccrypt (1.7-11) ...
ERROR: emacsen-common being used before being configured.
ERROR: This is likely a bug in the ccrypt package, which needs to
ERROR: add one of the appropriate dependencies.
ERROR: See /usr/share/doc/emacsen-common/debian-emacs-policy.gz
ERROR: for details.
dpkg: error processing ccrypt (--configure):
 subprocess post-installation script returned error exit status 2
Setting up emacsen-common (1.4.17) ...
emacsen-common: Handling install of emacsen flavor emacs

Errors were encountered while processing:
 ccrypt
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up ccrypt (1.7-11) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

Changed in ccrypt:
status: New → Confirmed
description: updated
Revision history for this message
zippidy_josh (redstone) wrote : Re: [Bug 282411] Re: aptitude install failed during ccrypt install
Download full text (6.6 KiB)

Thanks for confirming.
Josh

On Thu, Oct 23, 2008 at 3:59 PM, Jean-Baptiste Lallement
<email address hidden> wrote:
> Thanks for your report.
>
> Confirmed in Intrepid. This happens when you install emacsen-common and
> ccrypt at the same time. It seems to be harmless because the installer
> recover the error at the end of the installation but a less alarming
> message could be more user friendly.
>
> black:~# aptitude install emacsen-common ccrypt
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> The following NEW packages will be installed:
> ccrypt emacsen-common
> 0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B/88.8kB of archives. After unpacking 406kB will be used.
> Writing extended state information... Done
> Reading package fields... Done
> Reading package status... Done
> Retrieving bug reports... Done
> Parsing Found/Fixed information... Done
> Selecting previously deselected package ccrypt.
> (Reading database ... 203715 files and directories currently installed.)
> Unpacking ccrypt (from .../ccrypt_1.7-11_i386.deb) ...
> Selecting previously deselected package emacsen-common.
> Unpacking emacsen-common (from .../emacsen-common_1.4.17_all.deb) ...
> Processing triggers for man-db ...
> Setting up ccrypt (1.7-11) ...
> ERROR: emacsen-common being used before being configured.
> ERROR: This is likely a bug in the ccrypt package, which needs to
> ERROR: add one of the appropriate dependencies.
> ERROR: See /usr/share/doc/emacsen-common/debian-emacs-policy.gz
> ERROR: for details.
> dpkg: error processing ccrypt (--configure):
> subprocess post-installation script returned error exit status 2
> Setting up emacsen-common (1.4.17) ...
> emacsen-common: Handling install of emacsen flavor emacs
>
> Errors were encountered while processing:
> ccrypt
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> A package failed to install. Trying to recover:
> Setting up ccrypt (1.7-11) ...
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> Writing extended state information... Done
>
>
> ** Changed in: ccrypt (Ubuntu)
> Status: New => Confirmed
>
> ** Description changed:
>
> Binary package hint: ccrypt
>
> I'm using Hardy 8.04.
> I did a
> sudo aptitude install git-core xemacs21 octave3.0-emacsen emacs octave3.0 python perl ccrypt python-doc perl-doc
> and got a crash message saying the ccrypt install failed. However, the aptitude command completed successfully.
> Looks like it also didn't manage to install python-doc and perl-doc, but when I redo the command, it works fine, installing the remaining packages it missed the first time.
>
> ProblemType: Package
> Architecture: i386
> Date: Sun Oct 12 13:39:02 2008
> Dependencies:
> libgcc1 1:4.2.3-2ubuntu7
> gcc-4.2-base 4.2.3-2ubuntu7
> libc6 2.7-10ubuntu4
> DistroRelease: Ubuntu 8.04
> ErrorMessage: subprocess post-installation script returned error exit status 2
> Pack...

Read more...

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

bug 278807 is similar but with cmake

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ccrypt - 1.10-4

---------------
ccrypt (1.10-4) unstable; urgency=low

  * Hardening binary

 -- Chris Vanden Berghe <email address hidden> Mon, 07 Apr 2014 00:30:00 +0800

Changed in ccrypt (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.