My 8 Gb Pi4 running Ubuntu 21.04 wasn’t booting after some update or other… I kinda gave up on it - “too hard basket” - intention to start again from scratch when 22.04 is released (I will try new releases on things like the Pi - but not my daily driver workstations)…
So anyway - I hadn’t powered it up since maybe December? It eventually powered up and went online…
All sorts of errors and issues (refused to update, nevermind upgrade) - I’m hunting around for all sorts of symptoms, verifying DNS was working… Almost considered the wipe and re-install…
Just out of curiousity I did a “df” and my freaking root was full! Doh! That’s what happens when you get complacent!
Cleaned out a bunch of stuff that was obvious.
Then I hit this ItsFoss article :
That was very handy with a script to remove unused snap storage - what a WASTEFUL piece of shit system, obsolete snaps were consuming 4 GB of storage - may not sound like a lot - but it’s a SHITLOAD on something like a Pi! Thanks for that article @Abishek
also learned about “apt install -fy” today - which was also pretty much “bleeding obvious” : but for me - the “fy” aren’t mnemonics for “force and yes” - they’re mnemonic for “F–K YOU” - and per UNIX philosophy, if I wanna shoot myself in the foot, please assist!
oh - and yeah - this was also useful (clear systemd journal logs - mine was using 4 GB on the Pi) :
more fury and frustation!
Because BOTH Chromium, and Firefox, on Ubuntu 21.04, are SNAPS - NEITHER will allow the “Gnome Extensions” “Extension” !
I had snap remove firefox…
Then find an arm64 version for ubuntu - found it here:
http://ports.ubuntu.com/pool/main/f/firefox/
http://ports.ubuntu.com/pool/main/f/firefox/firefox-locale-af_98.0.1+build2-0ubuntu0.21.10.1_arm64.deb
I wish there was another name for arm64, as it looks WAY too much like amd64 to shitty old eyes like mine! But more so, I wish everything that says “amd64” got changed to x86_64!
I “NEEDED” that Firefox extension to find and install gnome extensions, it’s the best way - but looks like Canonical have tried to break it in 21.04… I’m guessing 22.04 won’t be much / any better…