Seems like I got this error simply because there was no space left on /boot
/dev/sda1 180M 153M 19M 90% /boot .... 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 cpio: write error: Broken pipe E: mkinitramfs failure cpio 1 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 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 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 Errors were encountered while processing: linux-image-extra-3.8.0-25-generic linux-image-generic linux-generic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1191389 Title: package linux-image-extra-3.8.0-25-generic 3.8.0-25.37 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1191389/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs