[SOLVED] Restore Firefox DEB version

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
gideond
Level 1
Level 1
Posts: 7
Joined: Tue Aug 09, 2022 6:47 am

[SOLVED] Restore Firefox DEB version

Post by gideond »

I recently upgraded from 20.03 to 21. (Cinnamon Edition) Everything went smoothly for the most part. I had a few issues such as needing to reinstall Plex (configuration was preserved) and MegaSync.

Firefox is giving me a hassle for some reason. It works, but it's installed as a Flatpak version and I can't figure out how to get back to the native DEB version. Is there a method to completely purge the Flatpak and restore access to the DEB version? I see it's still in the repos, but the only option I see is Flatpak in the software center. Installing from terminal also gets me the Flatpak version.

Any help is appreciated. I don't use this particular machine often, so if I did something in the old install that could have caused this, I don't recall what it might have been.
Last edited by LockBot on Thu Feb 09, 2023 11:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Restore Firefox DEB version

Post by Cosmo. »

Where is the problem to uninstall the flatpak version an then installing the version from the repository?
User avatar
Pierre
Level 21
Level 21
Posts: 13215
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Restore Firefox DEB version

Post by Pierre »

the Firefox program doesn't usually come as an DEB package,
but only as an archived file.
:)

you should be able to get it from Package Manager aka synaptic, though.
OR
from Software Manager.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
User avatar
MiZoG
Level 8
Level 8
Posts: 2356
Joined: Fri Jan 26, 2018 8:30 pm
Location: Athens, Greece

Re: Restore Firefox DEB version

Post by MiZoG »

You mean that flatpak uninstall org.mozilla.firefox & sudo apt install firefox lead to re-installation of Firefox as flatpak in the end?
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Restore Firefox DEB version

Post by Cosmo. »

Who says that?
User avatar
MiZoG
Level 8
Level 8
Posts: 2356
Joined: Fri Jan 26, 2018 8:30 pm
Location: Athens, Greece

Re: Restore Firefox DEB version

Post by MiZoG »

OP says that
Installing from terminal also gets me the Flatpak version
gideond
Level 1
Level 1
Posts: 7
Joined: Tue Aug 09, 2022 6:47 am

Re: Restore Firefox DEB version

Post by gideond »

MiZoG wrote: Tue Aug 09, 2022 7:52 am You mean that flatpak uninstall org.mozilla.firefox & sudo apt install firefox lead to re-installation of Firefox as flatpak in the end?
Yes. Also the software manager GUI only shows a flatpak version as well. If I visit the Mint repo in a browser I can see the DEB package so I know it should be there.
gideond
Level 1
Level 1
Posts: 7
Joined: Tue Aug 09, 2022 6:47 am

Re: Restore Firefox DEB version

Post by gideond »

Pierre wrote: Tue Aug 09, 2022 7:46 am the Firefox program doesn't usually come as an DEB package,
but only as an archived file.
:)

you should be able to get it from Package Manager aka synaptic, though.
OR
from Software Manager.
Synaptic only shows the transitional packages stating that Firefox has been moved to Snap, like Ubuntu itself would use.
User avatar
Pierre
Level 21
Level 21
Posts: 13215
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Restore Firefox DEB version

Post by Pierre »

gideond wrote: Tue Aug 09, 2022 9:24 pm Synaptic only shows the transitional packages stating that Firefox has been moved to Snap, like Ubuntu itself would use.
well .. on my PCs .. it still shows Firefox 103.0.1+linuxmint1+
and that's not an Snap package :?
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
User avatar
antikythera
Level 15
Level 15
Posts: 5721
Joined: Thu Jul 02, 2020 12:52 pm
Location: Cymru

Re: Restore Firefox DEB version

Post by antikythera »

If it's not being found by your apt or synaptic package managers from vanessa repo there's a software source configuration issue
Last edited by antikythera on Wed Aug 10, 2022 4:33 am, edited 1 time in total.
I’ll tell you a DNS joke but be advised, it could take up to 24 hours for everyone to get it.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Restore Firefox DEB version

Post by Cosmo. »

gideond wrote: Tue Aug 09, 2022 9:24 pm Synaptic only shows the transitional packages stating that Firefox has been moved to Snap, like Ubuntu itself would use.
Note here, Show it please.

download/file.php?mode=view&id=80404
Attachments
Bildschirmfoto vom 2022-08-10 10-31-27.png
gideond
Level 1
Level 1
Posts: 7
Joined: Tue Aug 09, 2022 6:47 am

Re: Restore Firefox DEB version

Post by gideond »

This is what I have
Firefox.png
No other Firefox shows in Synaptic except the localization packages which also refer to Snap. I think when I Purge the Flatpak and try to run the install command it's actually the Snap package it's reinstalling. Not the Flatpak.

Edit: I just tried it again to confirm. I can remove the flatpak, but running the standard install now complains that snapd is not available and won't install at all.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Restore Firefox DEB version

Post by Cosmo. »

Do you use Snapd on your system?
gideond
Level 1
Level 1
Posts: 7
Joined: Tue Aug 09, 2022 6:47 am

Re: Restore Firefox DEB version

Post by gideond »

Cosmo. wrote: Wed Aug 10, 2022 10:41 am Do you use Snapd on your system?
Not that I'm aware of. I've never intentionally enabled it for any reason. I prefer to use the default repos and Flatpak if absolutely necessary.

Regardless, I finally figured out the issue. There was a preferences file that was locking Firefox to the Ubuntu release. I have no idea why or how it's there, but deleting it, updating and installing Firefox now gives me the correct version from the Mint repo. There was also a similar file for Thuderbird, but removing that didn't seem to make any difference. The installed version of Thunderbird shows as follows.
Thunderbird.png
Maybe that's default either way.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Restore Firefox DEB version

Post by Cosmo. »

Can you provide the name of that files? You should perhaps find them in the trash bin.

Yes, Thunderbird packages get - in difference to Firefox - provided by Ubuntu.

Where I cannot follow: If you do not have snapd installed, how can a package from Snap get offered? :?: :roll: :?:
Does the file /etc/apt/preferences.d/nosnap.pref exist?
gideond
Level 1
Level 1
Posts: 7
Joined: Tue Aug 09, 2022 6:47 am

Re: Restore Firefox DEB version

Post by gideond »

Cosmo. wrote: Wed Aug 10, 2022 11:17 am Can you provide the name of that files? You should perhaps find them in the trash bin.

Yes, Thunderbird packages get - in difference to Firefox - provided by Ubuntu.

Where I cannot follow: If you do not have snapd installed, how can a package from Snap get offered? :?: :roll: :?:
Does the file /etc/apt/preferences.d/nosnap.pref exist?
No that file does not exist. The files in question where firefox-ubuntu.pref and thunderbird-ubuntu.pref and yes there were in the location you indicated. When I get back to that computer I'll see if it's still in the bin so I can copy the contents here.

Edit:
Contents of the firefox-ubuntu file

Code: Select all

Package: firefox*
Pin: release o=Ubuntu
Pin-Priority: 800
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Restore Firefox DEB version

Post by Cosmo. »

The missing file nosnap.pref tells, that there had at least been snapd been installed in the past. This clears the above question.
gideond
Level 1
Level 1
Posts: 7
Joined: Tue Aug 09, 2022 6:47 am

Re: Restore Firefox DEB version

Post by gideond »

Cosmo. wrote: Thu Aug 11, 2022 6:24 am The missing file nosnap.pref tells, that there had at least been snapd been installed in the past. This clears the above question.
That's what is baffling. I installed the system late last year and never used it much. I was planning to daily drive it for a while on a computer that is still working great for office work, but doesn't qualify for a Windows 11 upgrade due to hardware limitations. I never got around to using it in that capacity and have barely used it at all. I certainly never had a reason to enable Snap.

That said, I've recreated the nosnap.pref file so hopefully everything is sorted now.

Thanks for the input.
Locked

Return to “Software & Applications”