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.
The whole apt ecosystem is kind of a mess, if you ask me. Debian stable updates on archeological timescales, Debian testing just isn’t a very good rolling release disto, you’re better off with Arch or OpenSuse Tumbleweed if you want to actually use a rolling release as a daily driver, Ubuntu is a mess of annoying corporate decisions I hate from Canonical, and all the others are all just kind of disjointed in how they try to fix those issues.
My personal favorite is Mint. They just try to make Ubuntu with some classic, boring desktop design and minus the more controversial Canonical decisions, but obviously that’s not everyone’s cup of tea. I dunno, there is no perfect distro, you just have to find the one that for you it takes the least amount of effort to fix. Ubuntu really just kind of makes it a pain in the butt to fix all their weirdness though.
Debian testing just isn’t a very good rolling release disto
What makes you say that?
They started doing that in a couple of years back. Saw quite a bit of backlash in the Linux news media at the time.
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.
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.
w3m
is a proper deb 😛Looks like only firefox, chromium-browser and thunderbird are these dummy transitional packages. There’s a
fwupd-snap
, but the defaultfwupd
is a full deb.
That snap shit was so bad it made me switch to Arch.
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’ve had it happen too. In fact it is what prompted me to move away from Kubuntu.
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?
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
Its driver manager is better for newbies. Worse for experienced users though imo.
They have been doing this for a while.
Would recommend you to stick to MX,Mint or if you care only about stability and not Updates debian.
Have you correctly set your apt preferences? I didn’t have any issues anymore since I’ve done that.
Is KDE Neon still broken? For awhile it was the only Ubuntu based distro I’d recommend. Yes, I know about Mint but no HDR or Wayland.
I’m reasonably happy with XFCE/Xubuntu - it’s not as slick of a desktop as KDE or Gnome, and in some ways that’s a great thing.
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
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
This explains situation.
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.
This is why i switched to Debian. It’s 99% of Ubuntu, without the crap.
I… I… I don’t know why I haven’t done that myself. (Am now on NixOS btw) but for work maybe I ask for Debian cloud box.
For work, you could also try Fedora Workstation or Linux Mint Debian Edition. Debian is pretty barebones, but if that isnt a bother then do whatever.
It’s not barebones. I use it as my main desktop and barely notice any difference from Ubuntu, it has every package I’ve ever needed. I think that mentality of Debian being “bare” is outdated.
@beeng@discuss.tchncs.de this is for you, too.
I had a friend jump ship from Windows and they said that Debian felt barebones. I personally dont have any problem with it, I use it all the time for VMs, server, and I used to main it. I still think it is missing a lot of user-friendly small things that i never noticed on my own because I am very comfortable with Linux.
They do install less by default, but I’d love to pick their brain to understand what they meant. Oh well ¯_(ツ)_/¯
Linux just isnt transparent about some things. Beginners most have problems when they use a GUI tool and then have to still edit a file. Like dirt example, adding a new drive using GUI disk utility and then sometime in the future disconnecting the drive and being forced into emergency mode.
Uhh, that’s a thing in any modern distro? I plug and unplug SATA drives all the time.
I’d suggest the KDE flavor of Debian, then. Its settings manager is divine, and its software management platform ties every other package management system in (apt/dpkg for Debian, yum for Redhat, pacman for Arch, plus flatpak, nixpkg, and even snaps if you absolutely must). By default starting in Plasma 6.0.
More to @fmstrat’s point, and to suggest a possible cause your friend had that impression: if you install the Minimal flavor of any distro, you’re going to get a minimal experience.
I like gnome, but i guess i could look at fedora.
I would like to stay with apt as package manager so the package names stay the same to what I know, or is yum/dnf/etc gonna use the same for most?
Mostly the same, and if not all it has taken for me to figure it out was searching “fedora $pkgname”
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.
Thats… odd. The installer packages aren’t really that different. When was this?
My guess is: prior to Bookworm, when they started including non-free firmware on installation media by default.
Ahhh yea, that would make sense.
Yeah, there’s an entire page bitching about it on Linux Mint’s website.
Definitely not you, they absolutely do this with snaps and have for a while. This was the main reason I stopped using 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.
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
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.
Not secretly, no.
Exactly. Enough with the inane conspiracism.
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 firefox
But 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
apt
is 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 firefox
and basically nothing else.
I had it happen a few times. I moved away from Kubuntu as a result.