They started doing that in a couple of years back. Saw quite a bit of backlash in the Linux news media at the time.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
I'm aware that when the user runs(without adding Mozilla's apt repository),
sudo apt install firefox
the 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, this is known. They do the same for Chromium. If you want a browser from ubuntu, it's going to be a snap.
Not defending Ubuntu but wasn't this clarified to be Mozilla's deploying it via Snap and requesting to remove the apt installation?
Source: https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04
It was a collaboration, although I'm having trouble finding a source for who wanted it first.
It is one of the reasons many people turn away from Ubuntu.
Yes. That was the last straw for me. I switched to debian stable, and haven't looked back since
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: 1000
Package: firefox*
Pin: release o=Ubuntu
Pin-Priority: -1' | sudo tee /etc/apt/preferences.d/mozilla
Yeah it's not really a secret
I got a notification about it when I upgraded from 20.04 LTS that they will only serve it as a snap package.
I suggest Mint or straight Debian. I prefer Mint for anything graphical, Debian for headless
Not a secret, but annoying as hell. I usually replace it with a Flatpak and uninstall Snap.
Definitely not you, they absolutely do this with snaps and have for a while. This was the main reason I stopped using Ubuntu.
Yeah they've been doing that for a while
Jesus Christ this is Windows-tier insane computing behaviour from Ubuntu. Fuck Ubuntu.
At this point, why is anyone using Ubuntu for desktop? You have soooo many options
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.
Switch to Debian and you'll be fine :)
This is why i switched to Debian. It's 99% of Ubuntu, without the crap.
I must have hit that 1% last time. I assembled a new PC, wanted to install debian and could not get a login screen after installation. At that point I wanted something that just works. I installed Xubuntu and had the machine ready right away.
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)
I suspect that what's happened is you installed the apt version, then at some point upgraded it and there was a version in the main repo that had a higher version number and installed the snap version. If two repositories both have a package with the same name, and no other rules in place, the higher version number wins.
If that is the case, you need to pin the firefox package to the mozilla repository. You can find more details here: https://wiki.debian.org/AptConfiguration
Yup. They also did this with Docker, and it broke my setup (and was a bitch to debug).
This was a couple of years ago, and I haven't used Ubuntu unless absolutely necessary (and then usually in a container).
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.
For awhile I was getting firefox crashes in Mint all the time. Turns out it was the snap version being unstable.
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!
I've had it happen too. In fact it is what prompted me to move away from Kubuntu.
My work cannot manage permissions well so I cannot remove snap Firefox cos its in use by another user.
Meanwhile current snap version of Firefox is crashing on my profile