apt-get upgrade failed

Bug #241025 reported by Matthew Stinar on 2008-06-18
Affects Status Importance Assigned to Milestone
linux-meta (Ubuntu)
linux-restricted-modules-2.6.24 (Ubuntu)

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 (=; however:
  Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
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
PackageArchitecture: i386
SourcePackage: linux-meta
Title: package linux-generic failed to install/upgrade: dependency problems - leaving unconfigured
Uname: Linux 2.6.24-19-generic i686

Matthew Stinar (matthew-stinar) wrote :
Matthew Stinar (matthew-stinar) wrote :

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

Soul-Sing (soulzing) wrote :

hi matthew,

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

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.

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  Edit
Everyone can see this information.

Other bug subscribers