apt-get upgrade failed

Bug #241025 reported by Matthew Stinar
6
Affects Status Importance Assigned to Milestone
linux-meta (Ubuntu)
New
Undecided
Unassigned
linux-restricted-modules-2.6.24 (Ubuntu)
New
Undecided
Unassigned

Bug Description

I ran apt-get upgrade and update-initramfs failed. It turns out my boot partition only had 2.5MB left. Oops! I guess the bug here is that now I have packages that are installed but not configured. That's something I can fix, but my dad would be lost if it were his computer.

Ubuntu 8.04

Setting up linux-ubuntu-modules-2.6.24-19-generic (2.6.24-19.27) ...
update-initramfs: Generating /boot/initrd.img-2.6.24-19-generic

gzip: stdout: No space left on device
update-initramfs: failed for /boot/initrd.img-2.6.24-19-generic
dpkg: error processing linux-ubuntu-modules-2.6.24-19-generic (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-ubuntu-modules-2.6.24-19-generic; however:
  Package linux-ubuntu-modules-2.6.24-19-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 2.6.24.19.21); however:
  Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-ubuntu-modules-2.6.24-19-generic
 linux-image-generic
 linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
Architecture: i386
Date: Wed Jun 18 12:39:56 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: dependency problems - leaving unconfigured
Package: linux-generic 2.6.24.19.21
PackageArchitecture: i386
SourcePackage: linux-meta
Title: package linux-generic 2.6.24.19.21 failed to install/upgrade: dependency problems - leaving unconfigured
Uname: Linux 2.6.24-19-generic i686

Revision history for this message
Matthew Stinar (matthew-stinar) wrote :
Revision history for this message
Matthew Stinar (matthew-stinar) wrote :

The reason /boot was full is that apt-get hasn't been cleaning up old kernels.

Revision history for this message
Soul-Sing (soulzing) wrote :

hi matthew,

your point : ubuntu should clean up old kernels
automatically in /boot?

Revision history for this message
Matthew Stinar (matthew-stinar) wrote :

Yes. I would think two or, at most, three would be quite sufficient. After I removed about five old kernels my boot partition was back to just 27% full, which seems much more reasonable.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 132311, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

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.