Thursday, October 11, 2018

upgrade - Issue with linux-image-3.13.0-44-generic & linux-image-extra-3.13.0-44-generic





I've been using Ubuntu Server for a few months now.
I'm getting the below OUTPUT after running sudo apt-get -f upgrade:




Reading package lists... Done
Building dependency tree
Reading state information... Done

Calculating upgrade... Done
The following packages will be REMOVED
linux-image-extra-3.13.0-44-generic
0 to upgrade, 0 to newly install, 1 to remove and 0 not to upgrade.
2 not fully installed or removed.
After this operation, 152 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 447185 files and directories currently installed.)
Removing linux-image-extra-3.13.0-44-generic (3.13.0-44.73) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-44-generic /boot/vmlinuz-3.13.0-44-generic

run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-44-generic /boot/vmlinuz-3.13.0-44-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-44-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.13.0-44-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-3.13.0-44-generic (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:

linux-image-extra-3.13.0-44-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)



I've tried all the Google results I can find that seem relevant including sudo apt-get remove and sudo apt-get autoremove, but to no avail.



This was fixed due to the help of @g_p and @muru, who pointed out the low disk space issue. Specifically @muru's link helped a lot. Be careful though, that you don't do what I did, and end up removing files that are actually important to the running of the PC (like the network). :)


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...