How to clean up /boot?

Nils Kassube kassube at gmx.net
Sun Jan 8 19:16:44 UTC 2017


Peng Yu wrote:
> It doesn't work.
> ~$  sudo apt-get  autoremove

> E: Unmet dependencies. Try using -f.
[...]
> >> The following packages were automatically installed and are no
> >> longer required:
> >>   linux-headers-3.13.0-100 linux-headers-3.13.0-100-generic
[...]

I would suggest to first remove all those packages with dkpg:

sudo dpkg -P linux-headers-3.13.0-100 linux-headers-3.13.0-100-generic \
linux-headers-3.13.0-83 linux-headers-3.13.0-83-generic \
linux-headers-3.13.0-85 linux-headers-3.13.0-85-generic \
linux-headers-3.13.0-86 linux-headers-3.13.0-86-generic \
linux-headers-3.13.0-87 linux-headers-3.13.0-87-generic \
linux-headers-3.13.0-88 linux-headers-3.13.0-88-generic \
linux-headers-3.13.0-91 linux-headers-3.13.0-91-generic \
linux-headers-3.13.0-92 linux-headers-3.13.0-92-generic \
linux-headers-3.13.0-95 linux-headers-3.13.0-95-generic \
linux-image-3.13.0-100-generic linux-image-3.13.0-83-generic linux-image-3.13.0-85-generic \
linux-image-3.13.0-86-generic linux-image-3.13.0-87-generic linux-image-3.13.0-88-generic \
linux-image-3.13.0-91-generic linux-image-3.13.0-92-generic linux-image-3.13.0-95-generic \
linux-image-extra-3.13.0-100-generic linux-image-extra-3.13.0-83-generic \
linux-image-extra-3.13.0-85-generic linux-image-extra-3.13.0-86-generic \
linux-image-extra-3.13.0-87-generic linux-image-extra-3.13.0-88-generic \
linux-image-extra-3.13.0-91-generic linux-image-extra-3.13.0-92-generic \
linux-image-extra-3.13.0-95-generic

And then run

sudo apt-get -f install

to get the missing packages installed.


Nils




More information about the ubuntu-users mailing list