sudo apt autoclean
, and it appears to removed above 62Mb of “linuxmint1+una”.Should I try to reboot?
Or is there another command I should use first?
sudo apt autoclean
, and it appears to removed above 62Mb of “linuxmint1+una”.That has also returned a list of all 0 (to upgrade, etc).
Hmm.
ls -la
looks the same, so I don’t know what it’s removed either.rm
to remove the files associated with old kernels that I no longer want?Ok, thanks for your help anyway
rm
command from the CLI, or whether attempting to do so might banjax my system even more.This will remove old kernels:
Code: Select all
sudo apt-get autoremove --purge
Code: Select all
uname -a
5.11.0-37-generic
, then remove, by hand, the files for another kernel(s):
Code: Select all
sudo rm /boot/*5.4.0-96* # a not-used kernal
I just tried that, and got the same response as my other attempts at autoclean and purge - a list of 0 effectsFlemur wrote: ⤴Fri Jan 28, 2022 6:07 pmThis will remove old kernels:Code: Select all
sudo apt-get autoremove --purge
Flemur wrote: ⤴Fri Jan 28, 2022 6:07 pm In an emergency you could also runto see which kernel you using, e.g.Code: Select all
uname -a
5.11.0-37-generic
, then remove, by hand, the files for another kernel(s):If you can now boot and login with the same one uname returned, run the Update Manager and clean up the kernels there.Code: Select all
sudo rm /boot/*5.4.0-96* # a not-used kernal
uname -a
tells me that the machine is running 5.13.0-27-generic.rm
to remove the files in /boot that are associated with e.g. the old 5.11 kernels?sudo
. rm .ICEauthority .Xauthority
from within /home. ls -la
returns a list that does not include the file .ICEauthority, but .Xauthority is there.Ok, so I have now done that, and yet I am still stuck in the Login Loop.Cassandra wrote: ⤴Fri Jan 28, 2022 6:57 pm Another thread suggests that I userm .ICEauthority .Xauthority
from within /home.
I am within /home/myusername/
The commandls -la
returns a list that does not include the file .ICEauthority, but .Xauthority is there.
Should I just try removing .Xauthority?
Sorry, I don’t understand what you mean - I have two ‘user accounts’ on the machine, and have had since I bought it.
If your boot partition is full, I'm not sure removing snapshots will help.
sudo apt-get install -f
. sudo apt-get - -fix-broken
., at the end of which wasUnable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend)
Then I was back to the CLI at/$are you root?
I did manage to remove some old files from /boot and got it down to 84% full, so it ought to now be bootable if space was the problem, shouldn’t it?SMG wrote: ⤴Fri Jan 28, 2022 7:42 pmIf your boot partition is full, I'm not sure removing snapshots will help.
However, if you have your install usb, you can boot to a live session of Linux Mint and use Timeshift on the live session to either restore to an earlier snapshot or to remove older snapshots.
The live session also had G-Parted on it if you would need to do anything with partitions.