I am not happy with the silent change from flatpak to snap

My flatpak installed firefox changed to a snap package overnight. Why ? How can you do this without my consent ?

1 Like

apt on zorin/ubuntu ships a firefox stub that pulls the snap. an overnight update can swap u over even if u had flatpak before.

check:
-snap list | rg firefox
-flatpak list | rg -i firefox
-apt policy firefox

to dump the snap and go flatpak again:
-sudo snap remove firefox
-flatpak install flathub org.mozilla.firefox

then:
-sudo apt-mark hold firefox

so apt doesnt yank the stub back in on the next upgrade.

3 Likes

Welcome to the Forum!

I understand that You are upset. This is related to Ubuntu. You could use the Mozilla-own Repo to install Firefox. They have Instructions for that:

There might look a bit intimidating but it should work fine.

If You are interested in a more drastical Way, I could give You Instructions to completely remove Snap at all and prevent installing again if You wish.

2 Likes

Well, I do not know what would be more drastical then to follow the instructions on that page.

1 Like

The Instructions there are only to add the Mozilla Repo so that You can install Firefox as APT Package directly from Mozilla. Including Language Pack. And it adds a File to prefer that Source. So, it prevents that Firefox gets installed/replaced as Snap Package again.

What I would offer goes further. It removes installed Snap Packges and then Snap itself and prevent that it gets installed again. So, You wouldn't be able to install any Snap Package so easily.

4 Likes

It's a lot simpler using a tarball install than you think:

Personally I prefer the two more privacy respecting forks of Firefox, zen and LibreWolf.

1 Like

@nite_route
A note regarding

sudo apt-mark hold firefox

hold freezes the Firefox package in the APT package manager.
In my view, this prevents the browser from being installed, updated or removed automatically during system updates.
Isn’t that right?

yeah hold freezes that apt firefox stub so upgrades wont yank the snap-puller back in. it doesnt freeze flatpak firefox.

flatpak update still bumps org.mozilla.firefox on its own. apt-mark hold only touches the deb named firefox.

1 Like

But I would highly recommend to make clear that it would also block the Installation of the .deb Version of Firefox when the Mozilla Repo is added. So, it would be neccessary to revert it back then.

Just a side note. Discovered this item on FerenOS notes in respect of Ubuntu's distribution agreement with Mozilla that goes back to Ubuntu 21.10:

So it was Mozilla that made Canonical make Firefox to be a snap not the other way around.

I don't think this is that easy. There stand '' as per their distribution agreement''. Do You know how that looks like? What it contains?

Link from FerenOS announcement page:

and second link:

Okay, I still don't know what this ''Distribution Agreement'' exactly is, but from what I have read about the Firefox Thing, it was a Collaboration Work. Maybe Mozilla has thought to get something from this.

But that wasn't the best Decision from the Now Perspective. And they might have understood that. Otherwise, they wouldn't offer now their own Repository.

1 Like

It is my understanding that the Firefox Mozillateam ppa is not a Mozilla ppa, it is separate.

1 Like

That is right. The mozillateam PPA is from an Ubuntu Team as far as I know. But Mozilla has since a While an own Repo what You can add: