gotaproblemwithmything
February 4th, 2017, 01:47 PM
Hi. This problem recently came up.
I can't install updates. sudo apt-get update && sudo apt-get install gives error messages. The following is the last that is printed to console:
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.13.0-107-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
E: Sub-process /usr/bin/dpkg returned an error code (1)
I think the problem has to do with my /boot/ partition being full. I am using disk encryption and /boot/ often lacks space. I used to just remove the old kernels (?) with sudo rm initrd.img-3.13.0-100-generic for example. Maybe I should not have done that. Now, if I try to remove them manually to free up space, apt-get just tries to reinstall/repair them again if I try to do any installation, and my /boot/ partition fills right back up. End result is I can't update, install or remove anything.
software updater and software center are also broken.
Thanks for any help.
I can't install updates. sudo apt-get update && sudo apt-get install gives error messages. The following is the last that is printed to console:
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.13.0-107-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
E: Sub-process /usr/bin/dpkg returned an error code (1)
I think the problem has to do with my /boot/ partition being full. I am using disk encryption and /boot/ often lacks space. I used to just remove the old kernels (?) with sudo rm initrd.img-3.13.0-100-generic for example. Maybe I should not have done that. Now, if I try to remove them manually to free up space, apt-get just tries to reinstall/repair them again if I try to do any installation, and my /boot/ partition fills right back up. End result is I can't update, install or remove anything.
software updater and software center are also broken.
Thanks for any help.