Your suggestions in post #20? Many thanks for those - I've just got back in so not had the chance.
I think this situation has come to pass like this: Discover - Updates has been coming up with the kernel and other updates since I bought this laptop. Obviously, it doesn't take care of the cleanup of old images but has kept trying to install new kernels and failing because of the full sda1. If I'd known that it needed manual cleanup i'd have done that myself.
Just to get my head around your suggestions, is the first option :
The order would be.
Code:
1) Run apt autoremove2) Run apt --fix-broken install3) Run rm vmlinuz-6.1.0-1* System.map-6.1.0-1* vmlinuz-6.1.0-1
The brute force 3) is always the last option to be done after this next step as it is your option of last resort to getting the system in a good state again.
And the second option:
Code:
1) apt remove linux-image-amd64 2) Run apt autoremove3) Run apt --fix-broken install4) Run apt install linux-image-amd64
Which is really the first option as it is least intrusive and totally correct way to do what needs to be done. The install of the linux-image-amd64 and the kernel it wants to bring in is the entire cause of your problem as there is no space for it. Removing that what is called meta package will prevent apt from trying to install any further kernels allowing you get this cleaned up. That is what the second command does cleans the cruft off of the system and should allow for the space needed to install new kernels. The number 3) may not even be needed if it does not complain about broken packages once step 1) is done. The step 4) simply put back into place the meta package so you will get automatic kernel upgrades working again when the get uploaded to the archive. While doing this it should install the newest kernel at which point you do step 2) again to remove the now not need third kernel that will be there again. In the future once in a while and everytime the kernel is upgraded run the 2) in the terminal to get rid of the accumulated junk that is not needed anymore.
Statistics: Posted by RedGreen925 — 2025-02-10 00:16