this post was submitted on 05 Feb 2025
111 points (93.0% liked)

Linux

49563 readers
1113 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.

you are viewing a single comment's thread
view the rest of the comments
[–] notabot@lemm.ee 10 points 9 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 7 hours ago (1 children)
[–] notabot@lemm.ee 1 points 2 hours ago

It just occured to me that if you want to use Ubuntu without snap, you could uninstall the snap package itself (I'm not on Ubuntu, so you might need to find it), then put a 'hold' on the package to prevent it being reinstalled. That should, in turn, prevent any package versions that use snap from being installed.

Initially uninstalling snap might require removing any packages that use it, but that'll tell you what you need non-snap versions of.