Re:The sad state of Linux download security
by danjoc on Sunday July 17, 2016 @01:00PM
(#12110798)
>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.
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.