Comment 6 for bug 278807

Revision history for this message
ken78724 (koymkg) wrote : Re: [Bug 278807] Re: package cmake 2.6.0-4ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 2

Hello Mr. Thomas:
   sure appreciate your hard work! soon after reporting the problem, a
work around showed on my screen; I thought I reported that though I
did not know what got me past the hurdle; shortly, I saw Ubuntu 9.04 &
upgraded from 8.10 without getting Studio Ubuntu 8:10 perfectly. But,
I found it beneficial. Then, my work went wild and I have been forced
to use my PC with microsoft installed.

   Many, many thanks!
 Kenneth

On Tue, May 26, 2009 at 2:04 PM, Jonathan Thomas <email address hidden> wrote:
> Still present with cmake 2.6.3 in Karmic.
>
> --
> package cmake 2.6.0-4ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 2
> https://bugs.launchpad.net/bugs/278807
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “cmake” source package in Ubuntu: Triaged
>
> Bug description:
> Binary package hint: cmake
>
> Description:    Ubuntu intrepid (development branch)
> Release:        8.10
>
> cmake:
>  Installed: 2.6.0-4ubuntu2
>  Candidate: 2.6.0-4ubuntu2
>  Version table:
>  *** 2.6.0-4ubuntu2 0
>        500 http://us.archive.ubuntu.com intrepid/main Packages
>        100 /var/lib/dpkg/status
>
> While installing cmake using Synaptic on 8.10, I received the following error:
>
> package cmake 2.6.0-4ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 2
>
> Is there anything else you need me to submit?
>
> ProblemType: Package
> Architecture: i386
> DistroRelease: Ubuntu 8.10
> ErrorMessage: subprocess post-installation script returned error exit status 2
> Package: cmake 2.6.0-4ubuntu2
> SourcePackage: cmake
> Title: package cmake 2.6.0-4ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 2
> Uname: Linux 2.6.27-5-generic i686
>
> :: TEST CASE ::
> # aptitude install emacsen-common cmake
> 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:
>  cmake emacsen-common
> 0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> Need to get 7519kB of archives. After unpacking 19.3MB will be used.
> Writing extended state information... Done
> Get:1 ftp://ftp.free.fr intrepid/main cmake 2.6.0-4ubuntu2 [7501kB]
> Get:2 ftp://ftp.free.fr intrepid/main emacsen-common 1.4.17 [17.6kB]
> Fetched 7519kB in 13s (546kB/s)
> Selecting previously deselected package cmake.
> (Reading database ... 187271 files and directories currently installed.)
> Unpacking cmake (from .../cmake_2.6.0-4ubuntu2_i386.deb) ...
> Selecting previously deselected package emacsen-common.
> Unpacking emacsen-common (from .../emacsen-common_1.4.17_all.deb) ...
> Processing triggers for man-db ...
> Processing triggers for menu ...
> Setting up cmake (2.6.0-4ubuntu2) ...
> ERROR: emacsen-common being used before being configured.
> ERROR: This is likely a bug in the cmake 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 cmake (--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
>
> Processing triggers for menu ...
> Errors were encountered while processing:
>  cmake
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> :: WORKAROUND ::
> Install emacsen-common then install cmake
>