Comment 188 for bug 798414

Revision history for this message
M G (mgudarzi) wrote : Re: update-initramfs should produce a more helpful error message when there isn't enough free space

check /boot to see what are your old kernels that you're not necessarily using. the system keeps two latest kernels. so if you're upgrading your kernel to 4.13.0-38, you don't need 4.13.0-36 or older anymore( unless you want a specific kernel for testing or something ), so you can delete em.

/boot$[sudo] rm -rf *4.13.0-36 (or older ones, depending on what you have **don't delete the ones you use or need**)

after that:

sudo apt-get update && sudo apt-get dist-upgrade

sudo apt-get auto remove

these should do it.

please be careful with rm -rf(it can be pretty devastating if you type wrong things in there)