Hi all, hoping someone can help!
I have a web server running Ubuntu 12.04.1 LTS server. As you can see by the title, I'm getting a warning message at logon:
=> /boot is using 96.9% of 227MB
How do I remove the old kernels? uname -r returns 3.2.0_34-generic. I've been searching here and a recommended solution is to do:
dpkg --list | grep linux-image
My problem is when I try to run apt-get purge I get a message about unmet dependencies: eg.
sudo apt-get purge linux-image-x.x.x.x-generic
sudo apt-get purge linux-image-2.6.38-11-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
initramfs-tools : Depends: initramfs-tools-bin (< 0.99ubuntu13.1~) but 0.99ubuntu13.1 is to be installed
linux-image-server : Depends: linux-image-3.2.0-35-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
And the problem is I can't run apt-get -f install because I don't have enough disk space for /boot.
I can see in /boot there are several older versions of initrd.img, config, vmlinuz, etc. I'm a bit leery of just removing these as, based on some of the other posts here, others have tried that and there systems would not successfully reboot.
I'm by no means a Linux or Ubuntu expert so if you have any suggestions, it'd be greatly appreciated. I don't have a GUI installed so no UbuntuTweak.