package linux-ubuntu-modules-2.6.24-16-generic 2.6.24-16.23 failed to install/upgrade: subprocess post-removal script returned error exit status 1

Bug #496604 reported by pgngp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-ubuntu-modules-2.6.24 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When I try to completely remove linux-ubuntu-modules-2.6.24-16-generic, I get an error: "E: linux-ubuntu-modules-2.6.24-16-generic: subprocess post-removal script returned error exit status 1". Following is the console output:

(Reading database ... 238354 files and directories currently installed.)
Removing linux-ubuntu-modules-2.6.24-16-generic ...
update-initramfs: Generating /boot/initrd.img-2.6.24-16-generic

gzip: stdout: No space left on device
update-initramfs: failed for /boot/initrd.img-2.6.24-16-generic
dpkg: error processing linux-ubuntu-modules-2.6.24-16-generic (--purge):
 subprocess post-removal script returned error exit status 1
Removing linux-image-2.6.24-16-generic ...
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-2.6.24-26-generic
Found kernel: /vmlinuz-2.6.24-25-generic
Found kernel: /vmlinuz-2.6.24-24-generic
Found kernel: /vmlinuz-2.6.24-23-generic
Found kernel: /memtest86+.bin
Replacing config file /var/run/grub/menu.lst with new version
Updating /boot/grub/menu.lst ... done

Purging configuration files for linux-image-2.6.24-16-generic ...
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-2.6.24-26-generic
Found kernel: /vmlinuz-2.6.24-25-generic
Found kernel: /vmlinuz-2.6.24-24-generic
Found kernel: /vmlinuz-2.6.24-23-generic
Found kernel: /memtest86+.bin
Updating /boot/grub/menu.lst ... done

Errors were encountered while processing:
 linux-ubuntu-modules-2.6.24-16-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up linux-ubuntu-modules-2.6.24-26-generic (2.6.24-26.43) ...
update-initramfs: Generating /boot/initrd.img-2.6.24-26-generic

Setting up linux-image-generic (2.6.24.26.28) ...

ProblemType: Package
Architecture: i386
Date: Mon Dec 14 10:39:14 2009
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess post-removal script returned error exit status 1
NonfreeKernelModules: nvidia
Package: linux-ubuntu-modules-2.6.24-16-generic 2.6.24-16.23
PackageArchitecture: i386
SourcePackage: linux-ubuntu-modules-2.6.24
Title: package linux-ubuntu-modules-2.6.24-16-generic 2.6.24-16.23 failed to install/upgrade: subprocess post-removal script returned error exit status 1
Uname: Linux 2.6.24-26-generic i686

Revision history for this message
pgngp (pankaj-gupta) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that there was an error on your system when trying to install a particular package due to a lack of free space on your system. Please resolve this situation manually and try to install the package again.

Changed in linux-ubuntu-modules-2.6.24 (Ubuntu):
status: New → Invalid
tags: added: failure-in-buffer-write
tags: added: hardy
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.