I have a sort of Catch 22 situation on my little eeePc.
It has tried to update kernels automatically and, after a few months (it's on our boat doing monitoring) it has run out of disk space.
It still runs OK and I can ssh into it. It has quite a long list of old kernels installed but I can't delete them to make space because it has half an update of the latest kernel:-
So when I try and do anything with apt-get I see:-
root@eeepc:/var/lib# apt-get remove linux-headers-2.6.32-39 linux-headers-2.6.32-39-generic-pae linux-image-2.6.32-39-generic-pae 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. linux-headers-generic-pae: Depends: linux-headers-2.6.32-43-generic-pae but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
So how do I uninstall all the old headers etc. so that there *is* space to do things?