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.
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.
Yeah, there’s an entire page bitching about it on Linux Mint’s website.
Yeah it’s not really a secret
Definitely not you, they absolutely do this with snaps and have for a while. This was the main reason I stopped using Ubuntu.
You could compile it from source yourself, and you won’t even have to worry about packaging and package managers.
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.
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.
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
In Ubuntu they are the same.
firefox
version1:1snap1-0ubuntu5
is a deb that literally runs the commandsnap install firefox
in the preinst script. Check line 77 infirefox-1snap1/debian/firefox.preinst
in the source tarball: https://launchpad.net/ubuntu/+source/firefox/1:1snap1-0ubuntu5There’s no magic there.
That is not the same thing as “snap and apt Firefox are the same”. They just hijacked apt to force snap in.
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.
Well, yes, except Canonical have made them actually do the same thing in the case of Firefox. I’m not aware of any other packages that have the deb install just run the snap install.
Yep, I am agreeing with you. The statement was never snap and deb are identical, its that canonical is making them do identical things.
Chromium too iirc
So both commands do the same thing… right? I’m not saying snap and apt are the same.
Yeah for sure, I read your comment as excusing canonical screwing with user intent but I see that’s not what you meant.
Yes. That was the last straw for me. I switched to debian stable, and haven’t looked back since
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.
I feel like snaps are black boxier tho.
Hah! Me too, exactly this.
Solve the problem. Drop ubunutu
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
At this point, why is anyone using Ubuntu for desktop? You have soooo many options
Unfortunately it’s my only option at work because my employer wants the security of Ubuntu pro
Because not everyone wants to spend their time babysitting an OS and Ubuntu has a 20-year track record of dependability.
And there are still other options!
While I get that, Debian fits that role extremely well.
I was waiting for this! Debian is great. I used it for years. But IMO it’s not polished enough for normies. The website is fugly and the onboarding funnel assumes too much knowledge. The installer, last time I tried it, was glitchy and unintuitive. I think that techies underestimate how offputting even ostensibly minor issues like this will be to ordinary users. Also, Debian has a ton of unmaintained packages (altho I gather that something is being done about this). Debian is fundamentally amateur in the best and unfortunately worst senses. I think a Linux flagship distro needs to be more pro and systematically thought out. For that, it’s always going to help to have a big company or organization behind it.
The installer, last time I tried it, was glitchy and unintuitive.
I used it a few months ago and it was pretty smooth.
I agree Ubuntu is the easy choice. You can totally find a desktop you don’t have to baby sit, but Ubuntu has the marketing to help you find them and feel safe.
I’ve had no issues with fedora, I’ve been running it for about a year.
I think fedora is best for user that want a recent kernel and reasonably fast update cycle (like not a year behind) but are not interested in rolling (for whatever reason ever).
I love rolling and had no issues due to rolling yet
Exactly. But I would go further. I think Linux needs flagship distros with big solid institutions behind them, and it needs us to support those distros by using them. I know this is not an popular opinion here.
I see those flagship distros precisely as Fedora and Ubuntu.
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?
For awhile I was getting firefox crashes in Mint all the time. Turns out it was the snap version being unstable.
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 🤣
I swear it was the default already installed. Maybe I’m misremembering.
Mint never preinstalled the snap. They package their own version of Firefox. I believe they have an agreement with Mozilla.
Why even enable snaps? It’s like asking to have headaches.
Switch to Debian and you’ll be fine :)
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’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.
Jesus Christ this is Windows-tier insane computing behaviour from Ubuntu. Fuck Ubuntu.