Comment 2 for bug 282411

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : Re: aptitude install failed during ccrypt install

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