Ubuntu Freeing Up Space on the Root File System

15th October 2017
by InfiniteMonkeys

/boot at 100%? Try the following to claw back some space:

sudo apt-get clean
sudo apt autoremove –purge
sudo apt-get autoremove –purge
sudo purge-old-kernels
sudo apt autoremove
sudo apt-get purge linux-image-4.4.0-67
sudo rm linux-headers-*

And/Or:

sudo uname -r
sudo dpkg –list ‘linux-image*’
sudo apt-get remove linux-image-VERSION
* Replace VERSION with the version of the kernel you want to remove. So not your current one.. : )
sudo apt-get autoremove
sudo update-grub