After creating a fresh installation of Ubuntu 24.04, I installed DEB Firefox from APT by following Mozilla’s instructions from here. But I noticed that it was secretly replaced with Snap Firefox. I was able to verify this by checking the About Firefox page. This is the third time I noticed this.
Have you correctly set your apt preferences? I didn’t have any issues anymore since I’ve done that.
You could compile it from source yourself, and you won’t even have to worry about packaging and package managers.
I suggest Mint or straight Debian. I prefer Mint for anything graphical, Debian for headless
Why use Mint when Mx exists.
What benifit does Mint have over Debian for anything graphical?
Its driver manager is better for newbies. Worse for experienced users though imo.
I’ve just found it’s more polished right out of the box. Definitely more new-user-friendly, like Ubuntu, but with Snap gutted out.
I have been using the regular Mint (based on Ubuntu), but I’m probably going to use the Debian edition next time I install a new system
They started doing that in a couple of years back. Saw quite a bit of backlash in the Linux news media at the time.
No defending Ubuntu but wasn’t this clarified to be Mozilla’s deploying it via Snap and requesting to remove the apt installation?
It was a collaboration, although I’m having trouble finding a source for who wanted it first.
I’m aware that when the user runs(without adding Mozilla’s apt repository),
sudo apt install firefoxthe snap version of Firefox is installed. But I never heard that, though APT is configured to install Firefox from Mozilla’s repository, the DEB version will be uninstalled and the Snap version will be installed.
Firefox now has instructions on their “Debian-based” install section about pinning their repo over Canonical’s so that doesn’t happen.
Because you’re right, Canonical does think so highly of their product that they will constantly attempt to undermine other options against your will.
Yes, this is known. They do the same for Chromium. If you want a browser from ubuntu, it’s going to be a snap.
w3mis a proper deb 😛Looks like only firefox, chromium-browser and thunderbird are these dummy transitional packages. There’s a
fwupd-snap, but the defaultfwupdis a full deb.
That snap shit was so bad it made me switch to Arch.
It’s a known and documented issue that Ubuntu does. They secretly install the Snap version, even if you tried to install the Deb package. This is an issue since years: https://askubuntu.com/questions/1345385/how-can-i-stop-apt-from-installing-snap-packages (posted 3 years and 7 months ago)
My problem is not like that. I’m aware that when the user runs(without adding Mozilla’s apt repository),
sudo apt install firefoxthe snap version of Firefox is installed. But I never heard that, though APT is configured to install Firefox from Mozilla’s repository, the DEB version will be uninstalled and the Snap version will be installed.
Yes, that’s the exact issue. Ubuntu does that for years. You use apt to install deb, but Ubuntu installs silently the Snap version. The article I linked was talking about that almost 4 years ago and talks about how to stop that. It’s an old issue not many are aware off.
Not secretly, no.
But it’s not obvious either. When I say ‘apt install firefox’, specially after adding their repository to sources.list, I’d expect to get a .deb from mozilla. Silently overriding my commands rubs me in a very wrong way.
It takes a little more than just adding a different repository to your package manager, you have to tell apt which to prefer:
echo ’
Package: *
Pin: origin packages.mozilla.org
Pin-Priority: 1000Package: firefox*
Pin: release o=Ubuntu
Pin-Priority: -1’ | sudo tee /etc/apt/preferences.d/mozillaTrue, but more often than not mozilla should have newer packages on their repository than any distribution. And the main problem still is that Ubuntu changed apt and threw snap in to the mix where it doesn’t belong.
I’m not disagreeing with anything you’ve said?
I’m saying that just adding Mozilla’s PPA to your sources won’t change apt’s behavior when installing Firefox unless you tell apt to prefer the package offered by the Mozilla PPA.
As someone who uses Kubuntu as a daily driver, I’m well aware of the snap drama and have worked around it using the method I pasted above.
Even though it’s an underhanded move by Cannonical, I’m still glad the OS is open source since it makes the workaround so trivial.
Since when this became a known thing? I’m aware that the snap version is installed when the user is trying to install the deb version of Firefox by running,
sudo apt install firefoxBut I never heard that the installed DEB version of Firefox is replaced by Snap version of Firefox.
The deb version is a pointer to the snap in their repos. Nothings being replaced, it no longer exists. The deb version of Firefox in Ubuntu repos is a wrapper that installs snap and has no binaries in it. Has been for 3 years or so.
It’s more than that. Ubuntu copies the Debian repos and then applies their own changes on top. Debian has a native (DEB) Firefox package, so Ubuntu specifically has to remove it for every new version.
At least a few years. I switched to Linux a year ago and that was a huge consideration for me when choosing Debian over Ubuntu.
Well then you haven’t been following it closely. As someone else said, the reason is simple: the Snap version is more recent (like it or not) and in Ubuntu
aptis configured to take into account Snap packages.Canonical added an epoch prefix to the firefox version number. Because that epoch (1) is higher than the implicit default (0), the official ubuntu dummy package is always considered to be a higher version than the official Mozilla package. apt doesn’t look at snap packages, it installs the deb, but the ubuntu deb just runs
snap install firefoxand basically nothing else.
I had it happen a few times. I moved away from Kubuntu as a result.
Exactly. Enough with the inane conspiracism.
Wasn’t that one of the main critiques of snap/ubuntu/canonical a few years ago already?
Among my personal dislike for its shade of purple, that has been my primary reason to not recommend ubuntu for a while, at least.
It’s a dilemma; most Windows and Mac users would benefit from that kind of locked-down, idiot-proof format. Even having the choice of multiple repos is too much for them. So while I personally hate it, that’s what most people (i.e. non-Linux users) want and need.
I recommend Ubuntu as the beginner distro for everyone, but with the hope that they eventually drop the training wheels and switch to Debian.
That’s why I recommend mint. You have all the benefits of ubuntu but without the corporate stuff. And flatpak instead of snap.
It is one of the reasons many people turn away from Ubuntu.
Ubuntu uses Snap as first-class method to install software. So if a piece of software is available as DEB or Snap, Ubuntu will always use Snap.
I’m aware that when the user runs(without adding Mozilla’s apt repository),
sudo apt install firefoxthe snap version of Firefox is installed. But I never heard that, though APT is configured to install Firefox from Mozilla’s repository, the DEB version will be uninstalled and the Snap version will be installed.
Thanks. I hate snaps. I’ll probably just stop using Ubuntu.
Why?
I personally hate the fact that they bloat up the block devices so much
They’re slower than a native app, and they don’t integrate as well with the rest of the system.
thanks! didn’t know about that
Some more reasons are explained here: https://askubuntu.com/questions/1029610/if-a-package-is-available-as-both-a-deb-and-a-snap-which-method-is-preferrable
Jesus Christ this is Windows-tier insane computing behaviour from Ubuntu. Fuck Ubuntu.
Switch to Debian and you’ll be fine :)
I battled that for about a year and then ditched Debian based diatros altogether.
OpenSUSE ftw
You could have gone pure Debian. There are no snap shenanigans over there :)
OpenSuse is also a great pick tho!
One of the reason I moved to MX Linux, it is Debian based, always latest everything, like 6.12.11 kernel, my FF just got updated to 135.0, and it is no systemd, no flatpak, no snap, everything is DEB, and stable.
Not a secret, but annoying as hell. I usually replace it with a Flatpak and uninstall Snap.
Removed by mod
Disadvantage: you’re now using a browser from the biggest
spyad-ware company and killed web heterogeneity.Removed by mod
Try sunglasses? But maybe other souls can still be saved from evil…
Removed by mod
Why would you use an inferior product? Firefox via Snap is shit but it’s still better than any version of Chrome
Removed by mod
I’ve had it happen too. In fact it is what prompted me to move away from Kubuntu.

















