package linux-image-2.6.24-19-generic 2.6.24-19.41 failed to install/upgrade: subprocess post-installation script returned error exit status 2

Bug #271339 reported by Antonio de Bari
292
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

1) 8.04
3) after crashing system upgrading from 7.10 to 8.04 I had to dpkg --configure -a.
I then run apt-get update and upgrade
4) image doesn't install

ProblemType: Package
Architecture: i386
Date: Wed Sep 17 14:33:01 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess post-installation script returned error exit status 2
Package: linux-image-2.6.24-19-generic 2.6.24-19.41
PackageArchitecture: i386
SourcePackage: linux
Title: package linux-image-2.6.24-19-generic 2.6.24-19.41 failed to install/upgrade: subprocess post-installation script returned error exit status 2
Uname: Linux 2.6.22-15-generic i686

Revision history for this message
Antonio de Bari (anto-rial) wrote :
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Antonio,

I'm unfortunately not seeing much extra details in the log files attached. I'm curious what happens if you just try specifically installing linux-image-2.6.24-19-generic .

Changed in linux:
status: New → Incomplete
Revision history for this message
Antonio de Bari (anto-rial) wrote : R: [Bug 271339] Re: package linux-image-2.6.24-19-generic 2.6.24-19.41 failed to install/upgrade: subprocess post-installation script returned error exit status 2

Hi Leann,

The problem came when I was upgrading xubuntu 7.10 to 8.04. The system crashed while upgrading and I had to reboot it in safe terminal mode.
I had to solve manually using dpkg and system booted fine at that time but still reported it had problems upgrading image and kernel.
Then I started again apt-get upgrade with apt-get version:
-------------------------------------------------------------
apt 0.7.9ubuntu17 for i386 compiled on Apr 22 2008 15:19:47
Supported modules:
*Ver: Standard .deb
*Pkg: Debian dpkg interface (Priority 30)
 S.L: 'deb' Standard Debian binary tree
 S.L: 'deb-src' Standard Debian source tree
 Idx: Debian Source Index
 Idx: Debian Package Index
 Idx: Debian Translation Index
 Idx: Debian dpkg status file
-------------------------------------------------------------
and the upgrade of kernel and image worked fine.
At this time I am working with kernel 2.6.24-19-generic.

--- Gio 18/9/08, Leann Ogasawara <email address hidden> ha scritto:

> Da: Leann Ogasawara <email address hidden>
> Oggetto: [Bug 271339] Re: package linux-image-2.6.24-19-generic 2.6.24-19.41 failed to install/upgrade: subprocess post-installation script returned error exit status 2
> A: <email address hidden>
> Data: Giovedì 18 settembre 2008, 23:07
> Hi Antonio,
>
> I'm unfortunately not seeing much extra details in the
> log files
> attached. I'm curious what happens if you just try
> specifically
> installing linux-image-2.6.24-19-generic .
>
> ** Changed in: linux (Ubuntu)
> Status: New => Incomplete
>
> --
> package linux-image-2.6.24-19-generic 2.6.24-19.41 failed
> to install/upgrade: subprocess post-installation script
> returned error exit status 2
> https://bugs.launchpad.net/bugs/271339
> You received this bug notification because you are a direct
> subscriber
> of the bug.
>
> Status in “linux” source package in Ubuntu: Incomplete
>
> Bug description:
> 1) 8.04
> 3) after crashing system upgrading from 7.10 to 8.04 I had
> to dpkg --configure -a.
> I then run apt-get update and upgrade
> 4) image doesn't install
>
> ProblemType: Package
> Architecture: i386
> Date: Wed Sep 17 14:33:01 2008
> DistroRelease: Ubuntu 8.04
> ErrorMessage: subprocess post-installation script returned
> error exit status 2
> Package: linux-image-2.6.24-19-generic 2.6.24-19.41
> PackageArchitecture: i386
> SourcePackage: linux
> Title: package linux-image-2.6.24-19-generic 2.6.24-19.41
> failed to install/upgrade: subprocess post-installation
> script returned error exit status 2
> Uname: Linux 2.6.22-15-generic i686

__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi
http://mail.yahoo.it

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Thanks Antonio,

If and when you decide to update to Intrepid, I'd be interested in knowing if you have similar issues. The system crashing while upgrading is definitely unfortunate and likely the root cause of the upgrade issues. It would be best to gather info regarding the system crash if you see it again. Thanks.

Revision history for this message
max (maxozilla) wrote :

just had this problem upgrading from ubuntu 8.04 to 8.10

Revision history for this message
John Marlo Grier, Cebu (john-grier-sr) wrote : Re: [Bug 271339] Re: package linux-image-2.6.24-19-generic 2.6.24-19.41 failed to install/upgrade: subprocess post-installation script returned error exit status 2

max wrote:
> just had this problem upgrading from ubuntu 8.04 to 8.10
>
>
John replied:

I also had this same problem. Max described it very well. My brother
downloaded it for 2 days on his virtual harddrive Ubuntu 8.04 that was
on XP sp2 and had no problem. My gateway computer absolutely refuses to
cooperate. I am still experimenting.

Revision history for this message
DaveC (dcrooke) wrote :

The problem I had was different - it was trying to run /etc/kernel/postinst.d/nvidia-common which in turn uses a Python script called /usr/bin/nvidia-detector which in turn uses a Python module that wasn't there.

I had the following sequence:

- installed new machine from the 8.10 amd 64 beta around Oct 16, which originally came with a 2.6.25 (I think) kernel, which supported the NVidia closed source fglrx driver
- upgraded via Update Manager to 2.6.27-4 which does not support it
- had a problem with non-deb Python modules, so did an rm -rf on /usr/lib/python2.*/site-packages/* and reinstalled Python and its add-ons
- upgraded from 2.6.27-4 to 2.6.27-7, and the postinst cascade-failed due to the nvidia-common

I probably inadvertently killed the Nvidia Python module, and there was no new version to replace it.

In my case, AFAICT the underlying bug is that postinst.d/nvidia-common, /usr/bin/nvidia-detector etc. should have been removed along with the fglrx driver when upgrading to 2.6.27-4 - it wouldn't be seen by a normal user who wasn't dinking with the Python installation.

My workaround was:

sudo chmod 0 /usr/bin/nvidia-common
sudo dpkg --configure -a # re-run the failed postinst

Revision history for this message
max (maxozilla) wrote :

I think a sledgehammer returns similar results

Revision history for this message
John Marlo Grier, Cebu (john-grier-sr) wrote :

max wrote:
> I think a sledgehammer returns similar results
>
>
hahaha! Probably so. Even so, I plan on searching my relic boxes for the
Wireless add-on, plug-in mechanism that I can insert into the outside
of my gateway laptop and then try a normal installation and see if that
solves the issue. I haven't done that because I am 10,500 miles too far
away. If it works, I will let everybody know. Sometimes it takes a
non-genius to come up these ideas. They even work occasionally! hahaha!

I am hoping for a gentler solution. There is a certain satisfaction with
the sledgehammer in giving a final solution. Hopefully that will not be
necessary. :-D

Revision history for this message
Steven Mitnick (stevenmitnick) wrote :

Upgrading from 8.04 to 8.10. Occured during initial installation and during upgrades on November 6, 2008.

Revision history for this message
Siu Ching Pong (Asuka Kenji) (asukakenji) wrote :

This bug is simple to reproduce.

Just boot from the Ubuntu 8.10 Desktop i386, select the "Try Ubuntu without making changes to my computer".

After booting successfully, open "Software Sources".

Check all checkboxes in the "Ubuntu Software" tab.

Then, in the "Updates" tab, check only "Important security updates (intrepid-security)".

Then use the "Update Manager" to update the system.

It reports this "crash" after downloading and installing the updates.

Revision history for this message
Siu Ching Pong (Asuka Kenji) (asukakenji) wrote :

The same problem occurred in the Ubuntu 8.04.1 LTS Desktop i386.

I remembered that the problem didn't occur before...

It started to occur after a particular kernel was released...

(Perhaps 2.6.24-19? I don't remember...)

Revision history for this message
bob (bobhhb) wrote : Re: [Bug 271339] Re: package linux-image-2.6.24-19-generic 2.6.24-19.41 failed to install/upgrade: subprocess post-installation script returned error exit status 2

[?]thank u

2008/11/19 Siu Ching Pong (Asuka Kenji) <email address hidden>

> The same problem occurred in the Ubuntu 8.04.1 LTS Desktop i386.
>
> I remembered that the problem didn't occur before...
>
> It started to occur after a particular kernel was released...
>
> (Perhaps 2.6.24-19? I don't remember...)
>
> --
> package linux-image-2.6.24-19-generic 2.6.24-19.41 failed to
> install/upgrade: subprocess post-installation script returned error exit
> status 2
> https://bugs.launchpad.net/bugs/271339
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "linux" source package in Ubuntu: Incomplete
>
> Bug description:
> 1) 8.04
> 3) after crashing system upgrading from 7.10 to 8.04 I had to dpkg
> --configure -a.
> I then run apt-get update and upgrade
> 4) image doesn't install
>
> ProblemType: Package
> Architecture: i386
> Date: Wed Sep 17 14:33:01 2008
> DistroRelease: Ubuntu 8.04
> ErrorMessage: subprocess post-installation script returned error exit
> status 2
> Package: linux-image-2.6.24-19-generic 2.6.24-19.41
> PackageArchitecture: i386
> SourcePackage: linux
> Title: package linux-image-2.6.24-19-generic 2.6.24-19.41 failed to
> install/upgrade: subprocess post-installation script returned error exit
> status 2
> Uname: Linux 2.6.22-15-generic i686
>

--
Bob Haobo

Revision history for this message
AceLan Kao (acelankao) wrote :

This is an old issue and I think it doesn't worth to waste time to reproduce and fix the problem. So, I'm going to close this issue. Please reopen if this is still an issue in the current Ubuntu release, Jaunty Jackalope 9.04 - http://www.ubuntu.com/getubuntu/download. If the issue remains in Jaunty, please test the latest upstream kernel build - https://wiki.ubuntu.com/KernelMainlineBuilds . To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

Changed in linux (Ubuntu):
status: Incomplete → Won't Fix
Revision history for this message
hou ren hui (waynezsj) wrote :

Sorry, I don't know what you talk about .
So, oh,close it.

2009/7/1 AceLan Kao <email address hidden>

> This is an old issue and I think it doesn't worth to waste time to
> reproduce and fix the problem. So, I'm going to close this issue.
> Please reopen if this is still an issue in the current Ubuntu release,
> Jaunty Jackalope 9.04 - http://www.ubuntu.com/getubuntu/download. If
> the issue remains in Jaunty, please test the latest upstream kernel
> build - https://wiki.ubuntu.com/KernelMainlineBuilds . To reopen the
> bug, click on the current status under the Status column and change the
> status back to "New". Thanks.
>
> ** Changed in: linux (Ubuntu)
> Status: Incomplete => Won't Fix
>
> --
> package linux-image-2.6.24-19-generic 2.6.24-19.41 failed to
> install/upgrade: subprocess post-installation script returned error exit
> status 2
> https://bugs.launchpad.net/bugs/271339
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux” package in Ubuntu: Won't Fix
>
> Bug description:
> 1) 8.04
> 3) after crashing system upgrading from 7.10 to 8.04 I had to dpkg
> --configure -a.
> I then run apt-get update and upgrade
> 4) image doesn't install
>
> ProblemType: Package
> Architecture: i386
> Date: Wed Sep 17 14:33:01 2008
> DistroRelease: Ubuntu 8.04
> ErrorMessage: subprocess post-installation script returned error exit
> status 2
> Package: linux-image-2.6.24-19-generic 2.6.24-19.41
> PackageArchitecture: i386
> SourcePackage: linux
> Title: package linux-image-2.6.24-19-generic 2.6.24-19.41 failed to
> install/upgrade: subprocess post-installation script returned error exit
> status 2
> Uname: Linux 2.6.22-15-generic i686
>

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.