Boot folder is full so cannot install updates. [duplicate]

Plenty of free disk space. How do I either free up space on boot or increase its size? Using release 12.10 (quantal) 64-bit Kernel Linux 3.5.0-26-generic. Thanks, Dave.


Solution 1:

Delete the old Kernels

sudo apt-get purge $( dpkg --list | grep -P -o "linux-image-\d\S+" | grep -v $(uname -r | grep -P -o ".+\d") )

OR

use Ubuntu tweaks and then run janitor to clear unused packages

http://ubuntu-tweak.com/