4 ms·
>A while in, I find it won't update the software because /boot or something is out of space The boot partition is small and Ubuntu doesn't clean out old kernel
by danjoc 10y ago
>A while in, I find it won't update the software because /boot or something is out of space
The boot partition is small and Ubuntu doesn't clean out old kernels. You have to do it yourself.
sudo apt-get autoremove
This will remove an old kernel. There may be a better way, because I find if there are multiple old kernels I have to do this multiple times. I also found if I have to remove more than one, it's best to follow with a
sudo update-grub
I previously managed to hose things by removing multiple old kernel versions, seeing a warning about needing to do this, ignoring it, then rebooting. So now I just do it after any autoremove that tosses an old kernel.
This may not be the 100% correct magic ubuntu dance, but it is the one that seems to work for me.
- nickpsecurity 10y agoAppreciate the tips. I'll look into those functions. I like their simplicity already.