r/linuxmint • u/ClimateTraditional40 • 22d 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.
View all comments
Show parent comment
4
u/-Sturla- 22d ago
sudo won't let you delete files in /boot?
Ok, run "sudo su -" type your password, then run "cat /proc/version", mark the version and run "ls -lh /boot"
It should give you a list of files.
Pick a version that's older than the one you're running, then run
"rm /boot/*6.8.<version>*"
If that fails copy the output here.
I've never been denied deleting old kernels in /boot as root.