I had Firefox installed as a deb from the mozilla repository.
This morning I switched on, and firefox appears as though freshly installed, all bookmarks and customsations etc gone.
snap list
shows it is installed as a snap package, which I never did.
I'm aware this has cropped up from time to time, eg
If I reinstall from the apt repository, whats the best way to ensure it won't be overwritten again? There are a couple of apps I use which are snap, as thats the only available source, so I can't completely remove snap as some have suggested.
Its bad behaviour, in my view, and something team zorin should 100% have something in place for. If a user installs software from whatever source, it should remain in place.
If not, open the Terminal and type sudo nano /etc/apt/preferences.d/mozilla to work on this File and change the File so that it looks like above.
Then press ctrl+o to save the Changes, Enter to confirm and ctrl+x to exit. Then type sudo apt update && sudo apt upgrade and then the Mozilla Repo should have higher Priority and Firefox from Ubuntu a lower one.
For anyone checking this later: the Firefox APT pin and the Firefox profile are separate things. After sudo apt update, apt-cache policy firefox shows the installed version, candidate and source priorities; check that the candidate comes from packages.mozilla.org. This does not require removing snapd, so other Snap apps can remain.
If Firefox opens with a blank-looking profile after switching packages, don't delete the old profile. Close all Firefox instances and back up the profile folders first. Mozilla documents using Sync or copying a Snap profile into the deb profile location, then running firefox -P to select it. That migration is only needed if the data you want is in the Snap profile; first check the existing profiles before copying anything.