r/linuxmint • • 18d ago

SOLVED /boot full cannot delete kernels

/boot full cannot delete kernels. From Update Manager I get:

The package system is broken

The following packages have unmet dependencies:

linux-image-generic: Depends: linux-image-6.8.0-149-generic but it is not installed

I have tried all sorts of things within terminal (as per help on Linux forms not here) and they ALL fail. sdb1 (/boot) has 999mb and says it's 100% full.

sudo apt autoremove --purge

Tried manully as well, that one AND another separately. No joy.

Using Cinnamon Mint 22.2

HELP

EDIT: Used timeshift (from ages ago) then was able to manually remove each kernel via Terminal after that.

Got sick of going round in circles, error after error, /boot was 100% and now is 27% full. Hell of a difference from a few kernels but never mind, all sorted and will watch it from now on.

1 Upvotes

23 comments sorted by

View all comments

2

u/chuggerguy Linux Mint 22.3 Zena | MATÉ 18d ago

Do what u/-Sturla- says.

I have three kernels right now which is one more than I usually keep.

root@asus2:/home/chugger/desktop# find /boot -iname vmlinuz-*
/boot/vmlinuz-7.0.0-42-generic
/boot/vmlinuz-7.0.0-34-generic
/boot/vmlinuz-7.0.0-43-generic
root@asus2:/home/chugger/desktop# sudo du -hxcd 1 /boot
8.3M/boot/grub
343M/boot
343Mtotal

If you have a GB for /boot and it's full, you likely have several old ones you can remove.

Good luck.