this post was submitted on 05 Feb 2025
140 points (100.0% liked)

Linux

1267 readers
60 users here now

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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

top 50 comments
sorted by: hot top controversial new old
[–] Strit@lemmy.linuxuserspace.show 67 points 2 weeks ago (2 children)

They started doing that in a couple of years back. Saw quite a bit of backlash in the Linux news media at the time.

[–] sourov@lemm.ee 10 points 2 weeks ago (2 children)

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.

[–] eugenia@lemmy.ml 11 points 2 weeks ago (1 children)

Yes, this is known. They do the same for Chromium. If you want a browser from ubuntu, it's going to be a snap.

load more comments (1 replies)
[–] caseyweederman@lemmy.ca 4 points 2 weeks ago

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.

load more comments (1 replies)
[–] Morphit@feddit.uk 46 points 2 weeks ago (1 children)
[–] corsicanguppy@lemmy.ca 3 points 2 weeks ago (2 children)

From a security standpoint? Not even close. From a software-release validation requirement, not even in the same galaxy. If they look the same, it's only due to Clarke's law.

[–] Baaahb@feddit.nl 16 points 2 weeks ago (1 children)

You are missing the attribution. The person you are replying to is making a joke that Canonical says they are the same, not that they are actually the same.

[–] hedgehog@ttrpg.network 5 points 2 weeks ago

Clearly they’re cosplaying as a Canonical engineer whose internal explanation and pleas for them to not take this approach fell upon deaf ears /j

[–] Morphit@feddit.uk 11 points 2 weeks ago (1 children)

In Ubuntu they are the same. firefox version 1:1snap1-0ubuntu5 is a deb that literally runs the command snap install firefox in the preinst script. Check line 77 in firefox-1snap1/debian/firefox.preinst in the source tarball: https://launchpad.net/ubuntu/+source/firefox/1:1snap1-0ubuntu5

There's no magic there.

[–] IrritableOcelot 2 points 2 weeks ago (2 children)

That is not the same thing as "snap and apt Firefox are the same". They just hijacked apt to force snap in.

[–] Morphit@feddit.uk 11 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

So both commands do the same thing... right? I'm not saying snap and apt are the same in general.

[–] IrritableOcelot 4 points 2 weeks ago (1 children)

Yeah for sure, I read your comment as excusing canonical screwing with user intent but I see that's not what you meant.

[–] Morphit@feddit.uk 2 points 2 weeks ago

Yeah, I really dislike snap and have puppet clean it out and add in the real mozilla repo for me. If I wanted sandboxed apps I'd probably look at flatpak but I think there's still work to be done there also.

[–] Baaahb@feddit.nl 5 points 2 weeks ago* (last edited 2 weeks ago) (5 children)

You are missing the attribution. The person you are replying to is making a joke that Canonical says they are the same, not that they are actually the same.

load more comments (5 replies)
[–] bjoern_tantau@swg-empire.de 46 points 2 weeks ago

It is one of the reasons many people turn away from Ubuntu.

[–] doubtingtammy@lemmy.ml 35 points 2 weeks ago (2 children)

Yes. That was the last straw for me. I switched to debian stable, and haven't looked back since

Hah! Me too, exactly this.

[–] corsicanguppy@lemmy.ca 4 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Debian will have snaps and flatpaks and all the same insecure black-box drek.

Given how much they violate ISO27002, I can't see them ever being run in a regs-compliant shop.

[–] technocrit@lemmy.dbzer0.com 4 points 2 weeks ago

I feel like snaps are black boxier tho.

[–] secret300@lemmy.sdf.org 30 points 2 weeks ago

Yeah it's not really a secret

[–] SatanClaus@lemmy.dbzer0.com 27 points 2 weeks ago (3 children)

Solve the problem. Drop ubunutu

load more comments (3 replies)
[–] MyNameIsRichard@lemmy.ml 26 points 2 weeks ago (2 children)
[–] IsoKiero@sopuli.xyz 19 points 2 weeks ago

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.

[–] sourov@lemm.ee 5 points 2 weeks ago (3 children)

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.

[–] Routhinator@startrek.website 8 points 2 weeks ago (1 children)

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.

[–] JuxtaposedJaguar@lemmy.ml 3 points 2 weeks ago

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.

load more comments (2 replies)
[–] LainTrain@lemmy.dbzer0.com 22 points 2 weeks ago

Jesus Christ this is Windows-tier insane computing behaviour from Ubuntu. Fuck Ubuntu.

[–] zod000@lemmy.ml 22 points 2 weeks ago

Definitely not you, they absolutely do this with snaps and have for a while. This was the main reason I stopped using Ubuntu.

[–] Revan343@lemmy.ca 21 points 2 weeks ago (4 children)

I suggest Mint or straight Debian. I prefer Mint for anything graphical, Debian for headless

load more comments (4 replies)
[–] thingsiplay 18 points 2 weeks ago (1 children)

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)

[–] sourov@lemm.ee 6 points 2 weeks ago (1 children)

My problem is not like that. 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.

[–] thingsiplay 4 points 2 weeks ago

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.

[–] phar@lemmy.ml 16 points 2 weeks ago

At this point, why is anyone using Ubuntu for desktop? You have soooo many options

[–] shy_mia@lemmy.blahaj.zone 16 points 2 weeks ago* (last edited 2 weeks ago)

Yeah they've been doing that for a while

[–] notabot@lemm.ee 13 points 2 weeks ago (3 children)

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

load more comments (3 replies)
[–] fmstrat@lemmy.nowsci.com 13 points 2 weeks ago (1 children)

This is why i switched to Debian. It's 99% of Ubuntu, without the crap.

[–] beeng@discuss.tchncs.de 5 points 2 weeks ago (12 children)

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.

load more comments (12 replies)
[–] Dirk@lemmy.ml 8 points 2 weeks ago (2 children)

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.

[–] Scrollone@feddit.it 6 points 2 weeks ago

Thanks. I hate snaps. I'll probably just stop using Ubuntu.

[–] sourov@lemm.ee 5 points 2 weeks ago

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.

[–] limelight79@lemm.ee 7 points 2 weeks ago

I've had it happen too. In fact it is what prompted me to move away from Kubuntu.

[–] beeng@discuss.tchncs.de 6 points 2 weeks ago

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

[–] TxTechnician@lemmy.ml 5 points 2 weeks ago (2 children)

I battled that for about a year and then ditched Debian based diatros altogether.

OpenSUSE ftw

[–] Noble_bacon@lemmy.ml 4 points 2 weeks ago

You could have gone pure Debian. There are no snap shenanigans over there :)

OpenSuse is also a great pick tho!

load more comments (1 replies)
[–] Mwa@lemm.ee 4 points 2 weeks ago

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.

load more comments
view more: next ›