...
Establish the status of the /boot drive by running
Code Block language bash df -ah
If /boot is not indeed full then this fix will not apply.
- Manually remove old kernels from the /boot directory to free up space. Make sure to leave at the latest kernelleast one or two of the newest kernels.
With space free, the installation of the latest kernel can proceed:
Code Block language bash sudo aptitude build-dep sudo apt-get -f install
If all goes well, the latest kernel should be installed. The old manually deleted kernel still just need to be cleanup up from the package manager:
Code Block sudo apt-get remove linux-image- #{for each kernel manually deleted}