get up, clean up, don’t give up the files (and the termites)

As I was trying early July to upgrade my current version of Ubuntu (after a year of procrastination) to 24.04 (Noble Numbat!), I found there was no enough space on the partition element where the upgrade was to take place. I thus started removing superfluous applications, until removing a clock induced a massive removal of attached files and required reinstalling the missing theme to log in…

1924 sudo apt-get autoremove
1926  sudo apt-get autoclean
1929  sudo du -d 1 -h
1932  shutdown -r now
1934  apt-get install sddm-theme-breeze
1935  sudo apt-get install sddm-theme-breeze
1936  sudo apt-get install --reinstall plasma-desktop
1941  logout
1943  sudo apt list --installed | grep -i linux-image
1946  sudo du -h /var/lib/snapd/snaps
1947  sudo journalctl --disk-usage
1957  sudo apt remove linux-image-5.4.0-97-generic
1961  sudo apt remove linux-image-5.4.0-71-generic

I then realised older versions of the Linux kernel were store on that space and eating most of that precious space (as numbats are eating termites) and removed most of these versions with no visible damage. The same issue (of the missing breeze theme preventing regular login) occurred once again at the upgrade stage, with the same patch.

Leave a Reply

Discover more from Xi'an's Og

Subscribe now to keep reading and get access to the full archive.

Continue reading