this post was submitted on 05 Feb 2025
210 points (95.7% liked)

Linux

49862 readers
571 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
[–] shy_mia@lemmy.blahaj.zone 28 points 5 days ago* (last edited 5 days ago)

Yeah they've been doing that for a while

[–] Strit@lemmy.linuxuserspace.show 98 points 6 days ago (4 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.

[–] Eyck_of_denesle@lemmy.zip 4 points 4 days ago

That snap shit was so bad it made me switch to Arch.

[–] sourov@lemm.ee 11 points 6 days 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.

[–] caseyweederman@lemmy.ca 5 points 5 days 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.

[–] eugenia@lemmy.ml 10 points 6 days 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)
load more comments (2 replies)
[–] Revan343@lemmy.ca 38 points 5 days ago (4 children)

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

Why use Mint when Mx exists.

load more comments (3 replies)
[–] Morphit@feddit.uk 68 points 6 days ago (15 children)
load more comments (15 replies)
[–] bjoern_tantau@swg-empire.de 65 points 6 days ago

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

[–] Mwa@lemm.ee 5 points 4 days 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.

[–] Quazatron@lemmy.world 37 points 6 days ago (8 children)

Not a secret, but annoying as hell. I usually replace it with a Flatpak and uninstall Snap.

load more comments (8 replies)
[–] secret300 43 points 6 days ago (1 children)

Yeah it's not really a secret

load more comments (1 replies)
[–] doubtingtammy@lemmy.ml 48 points 6 days ago (3 children)

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

[–] fine_sandy_bottom@discuss.tchncs.de 9 points 6 days ago (1 children)

Hah! Me too, exactly this.

load more comments (1 replies)
load more comments (2 replies)
[–] SatanClaus@lemmy.dbzer0.com 41 points 6 days ago (3 children)

Solve the problem. Drop ubunutu

load more comments (3 replies)
[–] MyNameIsRichard@lemmy.ml 44 points 6 days ago (9 children)
[–] IsoKiero@sopuli.xyz 24 points 6 days ago (1 children)

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.

[–] BluescreenOfDeath@lemmy.world 8 points 6 days ago* (last edited 6 days ago) (2 children)

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

load more comments (2 replies)
load more comments (8 replies)
[–] zod000@lemmy.ml 28 points 6 days ago

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

[–] friend_of_satan@lemmy.world 18 points 5 days ago (1 children)

Welcome to 2020, where Debian is once again your trusted distro.

load more comments (1 replies)
[–] fmstrat@lemmy.nowsci.com 19 points 6 days ago (17 children)

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

load more comments (17 replies)
[–] LainTrain@lemmy.dbzer0.com 23 points 6 days ago

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

[–] phar@lemmy.ml 21 points 6 days ago (16 children)

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

load more comments (16 replies)
[–] accideath@lemmy.world 22 points 6 days ago (2 children)

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.

load more comments (2 replies)
[–] FooBarrington@lemmy.world 14 points 6 days ago (1 children)

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).

[–] MangoCats@feddit.it 11 points 6 days ago (1 children)

Docker in a snap is too meta for me.

load more comments (1 replies)
[–] dbkblk@lemmy.world 19 points 6 days ago

Switch to Debian and you'll be fine :)

[–] thingsiplay@beehaw.org 19 points 6 days ago (2 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)

load more comments (2 replies)
[–] notabot@lemm.ee 15 points 6 days 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)
[–] TxTechnician@lemmy.ml 8 points 5 days ago (2 children)

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

OpenSUSE ftw

[–] Noble_bacon@lemmy.ml 8 points 5 days ago

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

OpenSuse is also a great pick tho!

[–] ProgrammingSocks@pawb.social 1 points 3 days ago

This isn't Debian's fault! It's purely an Ubuntu/Canonical problem. Debian's only apt by default, no snap.

[–] limelight79@lemm.ee 7 points 5 days ago

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

[–] Dirk@lemmy.ml 9 points 6 days ago (7 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.

load more comments (7 replies)
load more comments
view more: next ›