Comment 3 for bug 1191389

Revision history for this message
Redoubts (redoubts) wrote :

On a 13.04 install, apt-get crashed during a dist-update. Now, apt-get says 3 updates failed to install, namely
linux-image-extra-3.8.0-25-generic
linux-image-generic
linux-generic

(exact error message at end.)

doing a df -h, I see my boot partition is at 96% capacity:

Filesystem Size Used Avail Use% Mounted on

/dev/mapper/xubuntu-root 114G 29G 79G 27% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 1.9G 4.0K 1.9G 1% /dev
tmpfs 378M 1004K 377M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1.9G 80K 1.9G 1% /run/shm
none 100M 12K 100M 1% /run/user

/dev/sda2 229M 208M 9.3M 96% /boot

/dev/sda1 190M 126K 190M 1% /boot/efi
/home/redoubts/.Private 114G 29G 79G 27% /home/redoubts

This reminds me of bugs past, where you guys resolved to clear out old kernel version from boot so this wouldn't happen. I thought that a fix was pushed into 13.04/12.04.2

https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/798414
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/923876

exact apt-get error:
"""
$ sudo apt-get upgrade

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up linux-image-extra-3.8.0-25-generic (3.8.0-25.37) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.8.0-25-generic /boot/vmlinuz-3.8.0-25-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.8.0-25-generic /boot/vmlinuz-3.8.0-25-generic
update-initramfs: Generating /boot/initrd.img-3.8.0-25-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.8.0-25-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-extra-3.8.0-25-generic.postinst line 1010.
dpkg: error processing linux-image-extra-3.8.0-25-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-extra-3.8.0-25-generic; however:
  Package linux-image-extra-3.8.0-25-generic is not configured yet.

dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 3.8.0.25.43); however:
  Package linux-image-generic is not configured yet.

dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 linux-image-extra-3.8.0-25-generic
 linux-image-generic
 linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
"""