ubuntu-logoSome time ago the Ubuntu 14.04 LTS Software Updater show me this error “Not enough free disk space. The upgrade needs a total of 93.1 M free space on disk ‘/boot’. Please free at least an additional 5,664 k of disk space on ‘/boot’.”

I find it strange that Canonical has removed the solution message of the original text, moreover, when I was searching the command to clean /boot (I had forgotten :-D) I found some caveman procedures, therefore, I going to show you the easy way to remove old kernels to install new ones when /boot is full.

Just open the Terminal and run:

sudo apt-get autoremove

That’s all !!!

It going to remove orphaned packages or dependencies that are installed after installing an application and then delete it, so they are no longer necessary.

Optionally you can also clean a little more your PC (not /boot) running this to commands:

sudo apt-get autoclean

To delete the cache packages .deb before the programs you have installed versions.

sudo apt-get clean

To removes all cached package. The only drawback might be that if you want to reinstall a package, your Ubuntu have to download it again.

I hope you found this information helpful.

I recommend Valhala Networks for technological and marketing issues to companies of all sizes, they know many good things with low costs using quality software.