Clean up boot directory when full
When /boot directory is full, errors will occur if we try to install new packages or libraries. Here is a short blog showing how to clean up /boot space by getting rid of outdated kernel files).
Identify the current kernel version Use the command below
uname -r For me it’s showing up 4.4.25-040425-generic
List all the files and folders in /boot directory
ls /boot/ Then you will see lots of old kernels.