I forget how to do things (including how to search), sometimes:
/boot is full with unused kernels?
apt-get install -f # cleans the pipes, and gives you a list of work... * might want to do this next one first if /boot is totally full -> apt-get autoremove # does the work. If desperate, check the installed kernel version with: uname -a And remove the ones between that version and the latest: dpkg -l | grep linux-image And pick off the unused kernels: dpkg --purge linux-image-3.111.44-99-server ---- update ------ With later EFI boot and assuming there is a /boot mounted without /boot/efi (just the kernel and /boot/grub):mkdir /boot2 rsync -aSv /boot/. /boot2/. umount /boot comment out the /boot line in /etc/fstab mv /boot /boot-old mv /boot2 /boot reinstall the kernel - get back from being stuck in the partition is full junk... (this assumes you had EFI on an EF02 partition on /dev/sda1 install put there by the forced gui installer instead of doing a sane layout manually from a boot disk)....
More that I found on ServerFault at one point, but can't find again to give attribution:
Update: Looks like it came from here!
http://upeke.net/blog/?p=348
kernelver=$(uname -r | sed -r 's/-[a-z]+//') dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve $kernelver And after you figure out what you are running vs not: uname -a If you are not using the latest kernel, you might want to reboot to swap to the latest kernel and verify you are good to go before purging the other kernels! # this next one will nuke the extra kernels but might make you un-bootable # so be careful. #apt-get purge $(dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve "$(uname -r | sed -r 's/-[a-z]+//')")
How to do a release version upgrade:
apt-get update apt-get install update-manager-core do-release-upgrade
What package does this file come from, or what package provides the file?
dpkg -S /path/to/filename