by smallerfish · 3y ago · 0 comments
It prompted me to finally wipe Snap fully from my system and install Firefox from the Mozilla PPA. The only other Snap app I currently use is IntelliJ, and that has issues in its Snap packaging according to the mighty Serge, so I'm switching to a tar.gz install for that.
## app-conf/apt/nosnap.pref
# To prevent repository packages from triggering the installation of snap,
# this file forbids snapd from being installed by APT.
Package: snapd
Pin: release a=*
Pin-Priority: -10
### Remove snapd applications and service
snap remove --purge firefox
snap remove --purge gnome-3-38-2004
snap remove --purge gtk-common-themes
snap remove --purge bare
snap remove --purge core20
snap remove --purge snapd
apt-get remove --yes snapd
# This will prevent snapd from any repository
tested on Ubuntu jammyI've been meaning to switch, but I'm on a certain RPM-based distro where the Firefox package in particular goes through its own set of QA testing, so I'm happy to stay on that.
Snap was one of the first things I removed (was a tough fight though). This way of software management is outright hostile to personal computers (as in run by people, as in contrast to servers, mostly run by other programs).
There were some problems with the version from Mozilla PPA though too... cannot recall at the moment. I think some configuration was missing right after install.
You should have to do that only once, then Firefox updates itself just like on Windows or MacOS. I ran this setup (Debian stable + Firefox installed by unpacking a tar) for years and never had an issue. Maybe you should unpack it in a directory where your normal user can write files to let Firefox handle the update.
So much easier than faffing about with six bazillion dh-whatever scripts.
If you follow the link in the story to the older story about Firefox ESR on Debian, it describes 2 different ways to install natively-packaged .DEB versions of Firefox $CURRENT on Debian.
If not, you might run into [this bug](https://old.reddit.com/r/linux4noobs/comments/uj58i5/psa_fix...)
FWIW my solution was using equivs to create a dummy package to satisfy www-browser and installing that.
So, here I am, stuck with Snap. Eww.