This question already has an answer here:
- How do I free up more space in /boot? 14 answers
This is a first for me. I've been having trouble upgrading Ubuntu 12.04. How do I fix this?
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]? y Setting up linux-image-3.8.0-42-generic (3.8.0-42.62~precise1) ... Running depmod. update-initramfs: deferring update (hook will be called later) The link /initrd.img is a dangling linkto /boot/initrd.img-3.8.0-42-generic Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.8.0-42-generic /boot/vmlinuz-3.8.0-42-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.8.0-42-generic /boot/vmlinuz-3.8.0-42-generic update-initramfs: Generating /boot/initrd.img-3.8.0-42-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-42-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-3.8.0-42-generic.postinst line 1010. dpkg: error processing linux-image-3.8.0-42-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-lts-raring: linux-image-generic-lts-raring depends on linux-image-3.8.0-42-generic; however: Package linux-image-3.8.0-42-generic is not configured yet. dpkg: error processing linux-image-generic-lts-raring (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of linux-generic-lts-raring: linux-generic-lts-raring depends on linux-image-generic-lts-raring; however: Package linux-image-generic-lts-raring is not configured yet. dpkg: error processing linux-generic-lts-raring (--configure): dependency problems - leaving unconfigured No apport report written because MaxReports is reached already Errors were encountered while processing: linux-image-3.8.0-42-generic linux-image-generic-lts-raring linux-generic-lts-raring E: Sub-process /usr/bin/dpkg returned an error code (1)
I have over 2TB of space remaining on the hard drive. I don't understand:
- gzip: stdout: No space left on device
- MaxReports is reached already