ccrypt installation produce an error when installed at the same time than emacsen-common
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
PackageArchitec
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/
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
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 1.7-11_ i386.deb) ... common_ 1.4.17_ all.deb) ... doc/emacsen- common/ debian- emacs-policy. gz
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_
Selecting previously deselected package emacsen-common.
Unpacking emacsen-common (from .../emacsen-
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/
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