this post was submitted on 05 Feb 2025
91 points (96.0% liked)

Linux

49544 readers
1620 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
[–] secret300@lemmy.sdf.org 7 points 31 minutes ago

Yeah it's not really a secret

[–] captain_aggravated@sh.itjust.works 3 points 25 minutes ago

Yeah, there's an entire page bitching about it on Linux Mint's website.

[–] zod000@lemmy.ml 13 points 1 hour ago

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

[–] Morphit@feddit.uk 25 points 3 hours ago
[–] SatanClaus@lemmy.dbzer0.com 28 points 3 hours ago

Solve the problem. Drop ubunutu

[–] doubtingtammy@lemmy.ml 26 points 3 hours ago (1 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.

[–] notabot@lemm.ee 10 points 3 hours ago (2 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

[–] sourov@lemm.ee 1 points 1 hour ago

This explains situation.

load more comments (1 replies)
[–] phar@lemmy.ml 11 points 3 hours ago (14 children)

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

[–] gpopides@lemmy.world 1 points 1 hour ago

Unfortunately it's my only option at work because my employer wants the security of Ubuntu pro

load more comments (13 replies)
[–] Strit@lemmy.linuxuserspace.show 63 points 6 hours 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.

[–] Amaterasu@lemmy.world 5 points 3 hours ago* (last edited 2 hours ago) (1 children)

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

[–] ggppjj@lemmy.world 1 points 14 seconds ago

It was a collaboration, although I'm having trouble finding a source for who wanted it first.

https://discourse.ubuntu.com/t/feature-freeze-exception-seeding-the-official-firefox-snap-in-ubuntu-desktop/24210

[–] sourov@lemm.ee 6 points 4 hours ago (1 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 4 points 3 hours ago

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

[–] bjoern_tantau@swg-empire.de 46 points 5 hours ago

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

[–] MyNameIsRichard@lemmy.ml 39 points 5 hours ago (7 children)
[–] IsoKiero@sopuli.xyz 13 points 4 hours 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 2 points 3 hours ago* (last edited 3 hours ago)

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 (6 replies)
[–] dbkblk@lemmy.world 15 points 5 hours ago

Switch to Debian and you'll be fine :)

[–] GrumpyDuckling@sh.itjust.works 7 points 4 hours ago (2 children)

For awhile I was getting firefox crashes in Mint all the time. Turns out it was the snap version being unstable.

[–] Petter1@lemm.ee 4 points 2 hours ago (1 children)

How did you get snap on mint?! 😆I once tried it as a noob and mint was always “snap bad! Don’t do this! You will regret” even on try to circumvent it 🤣

[–] GrumpyDuckling@sh.itjust.works 1 points 2 hours ago (1 children)

I swear it was the default already installed. Maybe I'm misremembering.

[–] that_leaflet@lemmy.world 2 points 1 hour ago (1 children)

Mint never preinstalled the snap. They package their own version of Firefox. I believe they have an agreement with Mozilla.

Maybe it was that i had to install the snap version (or maybe flatpak?) and uninstall theirs, which fixed the crashes. I thought it was a hardware issue for awhile because it was so random.

[–] GoodEye8@lemm.ee 2 points 2 hours ago

Why even enable snaps? It's like asking to have headaches.

[–] LainTrain@lemmy.dbzer0.com 19 points 5 hours ago

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

[–] accideath@lemmy.world 19 points 5 hours ago (1 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.

[–] JuxtaposedJaguar@lemmy.ml 1 points 2 hours ago (1 children)

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.

[–] accideath@lemmy.world 2 points 2 hours ago

That’s why I recommend mint. You have all the benefits of ubuntu but without the corporate stuff. And flatpak instead of snap.

[–] thingsiplay@beehaw.org 18 points 6 hours 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)
load more comments
view more: next ›