[Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
User avatar
Diesel330
Posts: 199
Joined: 2021-11-08 19:57
Location: Eastern Europe
Has thanked: 39 times
Been thanked: 25 times

[Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#1 Post by Diesel330 »

I decided that I don't trust Brave any more, there's something wrong with it, but I need a second browser along with FF ESR which is preinstalled and updates automatically. I want the same situation with the regular FF, is it possible?

User avatar
bbbhltz
Section Moderator
Section Moderator
Posts: 373
Joined: 2024-01-10 14:53
Has thanked: 74 times
Been thanked: 85 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#2 Post by bbbhltz »

Firefox has a repo https://support.mozilla.org/en-US/kb/in ... tributions

If you need a second browser you could also make shortcuts to launch FF using different profiles.
bbbhltz
longtime desktop Linux user; eternal newbie

User avatar
Diesel330
Posts: 199
Joined: 2021-11-08 19:57
Location: Eastern Europe
Has thanked: 39 times
Been thanked: 25 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#3 Post by Diesel330 »

bbbhltz wrote: 2024-09-11 18:10 Firefox has a repo https://support.mozilla.org/en-US/kb/in ... tributions

If you need a second browser you could also make shortcuts to launch FF using different profiles.
Thanks for the reply, I followed their instructions and now I have regular Firefox installed.

1) Will this FF update automatically?
2) How do I make shortcuts to launch FF using different profiles? Please explain

User avatar
bbbhltz
Section Moderator
Section Moderator
Posts: 373
Joined: 2024-01-10 14:53
Has thanked: 74 times
Been thanked: 85 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#4 Post by bbbhltz »

When you use apt to upgrade it will pull in new versions.

I haven't done the profile thing in awhile.

First go to about:profiles and create the profiles you want with names like default, work, etc.

Then create shortcuts and use the command

Code: Select all

firefox -P profilename --new-instance
to launch that profile directly. Each profile will have its own bookmarks, settings, extensions, etc.
bbbhltz
longtime desktop Linux user; eternal newbie

User avatar
Diesel330
Posts: 199
Joined: 2021-11-08 19:57
Location: Eastern Europe
Has thanked: 39 times
Been thanked: 25 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#5 Post by Diesel330 »

I don't use apt to update, I have unattended updates enabled so it updates without bothering me. Ideally I wanted the regular Firefox to update that way. Anyway I have this situation now:
Screenshot from 2024-09-11 22-21-23.png
I have 3 FF, the ''Firefox web browser'' is a flatpak that I want to remove from my computer. How do I remove the right Firefox from the terminal?

User avatar
wizard10000
Global Moderator
Global Moderator
Posts: 1232
Joined: 2019-04-16 23:15
Location: southeastern us
Has thanked: 125 times
Been thanked: 219 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#6 Post by wizard10000 »

As root, you'd use flatpak-list to list the packages you have installed and flatpak-uninstall to uninstall the package.

flatpak's man page explains this in more detail.

Hope this helps -
we see things not as they are, but as we are.
-- anais nin

User avatar
Diesel330
Posts: 199
Joined: 2021-11-08 19:57
Location: Eastern Europe
Has thanked: 39 times
Been thanked: 25 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#7 Post by Diesel330 »

wizard10000 wrote: 2024-09-11 20:05 As root, you'd use flatpak-list to list the packages you have installed and flatpak-uninstall to uninstall the package.

flatpak's man page explains this in more detail.

Hope this helps -
It doesn't help much, the internet is full of trash and I'm noob, i found the remove command

Code: Select all

flatpak uninstall <appid>

but I can't list the IDs of the apps installed

User avatar
blackbird
Posts: 98
Joined: 2023-08-17 04:42
Has thanked: 4 times
Been thanked: 24 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#8 Post by blackbird »

Code: Select all

flatpak list
list the packages and

Code: Select all

flatpak uninstall firefox
should uninstall firefox.

User avatar
Diesel330
Posts: 199
Joined: 2021-11-08 19:57
Location: Eastern Europe
Has thanked: 39 times
Been thanked: 25 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#9 Post by Diesel330 »

Today FF ESR had a big update, it jumped 12 versions and they also change the shortcut in the start menu from ''Firefox ESR'' to just ''Firefox'' so perhaps it couldn't be two entries with the same name so the shortcut of regular Firefox is gone... This is my guess. It makes me think if they can't manage the shortcuts right what about the rest of the things? Anyway if there is a way to restore the lost shortcut please tell me, I have located the executable

User avatar
sunrat
Site admin
Site admin
Posts: 7454
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 135 times
Been thanked: 665 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#10 Post by sunrat »

Diesel330 wrote: 2024-09-12 17:22 Today FF ESR had a big update, it jumped 12 versions and they also change the shortcut in the start menu from ''Firefox ESR'' to just ''Firefox'' so perhaps it couldn't be two entries with the same name so the shortcut of regular Firefox is gone... This is my guess. It makes me think if they can't manage the shortcuts right what about the rest of the things? Anyway if there is a way to restore the lost shortcut please tell me, I have located the executable
See - https://forums.debian.net/viewtopic.php ... 75#p807475
You now have firefox-esr from Mozilla repo rather than Debian. Stable version is still 115.15.0esr-1

Code: Select all

$ apt list -a firefox-esr
firefox-esr/mozilla,now 128.2.0esr~build1 amd64 [installed]
...
firefox-esr/stable-security 115.15.0esr-1~deb12u1 amd64
In KDE you can right click the desktop menu icon and "Edit Applications" then rename the menu item to Firefox-ESR like it was before. For other DEs there's probably a similar method.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
Diesel330
Posts: 199
Joined: 2021-11-08 19:57
Location: Eastern Europe
Has thanked: 39 times
Been thanked: 25 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#11 Post by Diesel330 »

sunrat wrote: 2024-09-12 23:16
Diesel330 wrote: 2024-09-12 17:22 Today FF ESR had a big update, it jumped 12 versions and they also change the shortcut in the start menu from ''Firefox ESR'' to just ''Firefox'' so perhaps it couldn't be two entries with the same name so the shortcut of regular Firefox is gone... This is my guess. It makes me think if they can't manage the shortcuts right what about the rest of the things? Anyway if there is a way to restore the lost shortcut please tell me, I have located the executable
See - https://forums.debian.net/viewtopic.php ... 75#p807475
You now have firefox-esr from Mozilla repo rather than Debian. Stable version is still 115.15.0esr-1

Code: Select all

$ apt list -a firefox-esr
firefox-esr/mozilla,now 128.2.0esr~build1 amd64 [installed]
...
firefox-esr/stable-security 115.15.0esr-1~deb12u1 amd64
In KDE you can right click the desktop menu icon and "Edit Applications" then rename the menu item to Firefox-ESR like it was before. For other DEs there's probably a similar method.
This wasn't my intention at all, I just wanted the regular Firefox along with the ESR maintained by Debian... So I guess now none of them will update automatically and there is no turning back... Good job Mozilla

User avatar
bbbhltz
Section Moderator
Section Moderator
Posts: 373
Joined: 2024-01-10 14:53
Has thanked: 74 times
Been thanked: 85 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#12 Post by bbbhltz »

Of course they will continue to update. That is what the repo does. I don't know what desktop you are using but you can edit the shortcut menu to achieve what you want. In fact, it is quite common. I used to have 4 Firefox profiles in order to be connected to 4 different Outlook-based email addresses at the same time.

Would you rather have different profiles and one version of FF installed or 2 Firefoxes (FF-esr and regular FF) installed?
bbbhltz
longtime desktop Linux user; eternal newbie

User avatar
Diesel330
Posts: 199
Joined: 2021-11-08 19:57
Location: Eastern Europe
Has thanked: 39 times
Been thanked: 25 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#13 Post by Diesel330 »

bbbhltz wrote: 2024-09-13 12:54 (FF-esr and regular FF)
I prefer this solution

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1552
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 63 times
Been thanked: 92 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#14 Post by None1975 »

Diesel330 wrote: 2024-09-13 12:44
This wasn't my intention at all, I just wanted the regular Firefox along with the ESR maintained by Debian...
Then install firefox-esr from the Debian repo and install regular, non esr Firefox version, from flatpak....
OS: Debian 12.4 Bookworm / DE: XFCE
Debian Wiki | DontBreakDebian, My config files on github

User avatar
bbbhltz
Section Moderator
Section Moderator
Posts: 373
Joined: 2024-01-10 14:53
Has thanked: 74 times
Been thanked: 85 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#15 Post by bbbhltz »

Please read ahead for better (i.e. correct) answers

Open Synaptic, find "firefox-esr"

Highlight it, go to Package > Force Version

2024-09-13_15-17.png
Select the non-Mozilla version
2024-09-13_15-18.png
Now it is "pinned" and will install and update from that repo.
Last edited by bbbhltz on 2024-09-14 05:42, edited 2 times in total.
bbbhltz
longtime desktop Linux user; eternal newbie

User avatar
fabien
Forum Helper
Forum Helper
Posts: 1158
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 101 times
Been thanked: 265 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#16 Post by fabien »

bbbhltz wrote: 2024-09-13 13:20 Now it is "pinned" and will install and update from that repo.
Have you tested this solution? If so, would it be possible for you to post the contents of the pin file (probably in /etc/apt/preferences.d/)?
ImageShare your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots

User avatar
bbbhltz
Section Moderator
Section Moderator
Posts: 373
Joined: 2024-01-10 14:53
Has thanked: 74 times
Been thanked: 85 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#17 Post by bbbhltz »

fabien wrote: 2024-09-13 16:36
bbbhltz wrote: 2024-09-13 13:20 Now it is "pinned" and will install and update from that repo.
Have you tested this solution? If so, would it be possible for you to post the contents of the pin file (probably in /etc/apt/preferences.d/)?
Shoot, you're right! It doesn't pin it at all. I guess when I've done that with other packages I was forcing the version that always happened to be newer and never realized that it doesn't pin...

But!

The Mozilla repo (I'm guessing) plops this in /etc/apt/preferences.d/

a little file called "mozilla"

Code: Select all

Package: *
Pin: origin packages.mozilla.org
Pin-Priority: 1000
@Diesel330, if you edit the file above and change the "1000" to "1" then it actually works the way I claimed.

EDIT: OK MAYBE NOT... I don't use unattended upgrades so couldn't test that

Code: Select all

$ sudo nano /etc/apt/preferences.d/mozilla

Package: *
Pin: origin packages.mozilla.org
Pin-Priority: 1
Last edited by bbbhltz on 2024-09-14 05:43, edited 1 time in total.
bbbhltz
longtime desktop Linux user; eternal newbie

Shamak
Posts: 171
Joined: 2018-04-14 00:33
Has thanked: 14 times
Been thanked: 10 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#18 Post by Shamak »

Diesel330 wrote: 2024-09-11 19:30 I don't use apt to update, I have unattended updates enabled so it updates without bothering me. Ideally I wanted the regular Firefox to update that way.
I was hoping someone more knowledgeable than I would answer this but since no one has I'll try. Can I see the output of

Code: Select all

apt policy
please?

CwF
Global Moderator
Global Moderator
Posts: 3201
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 66 times
Been thanked: 280 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#19 Post by CwF »

fabien wrote: 2024-09-13 16:36 (probably in /etc/apt/preferences.d/)?
You'd think, but synaptic has its own settings that may be ignored by apt.

/var/lib/synaptic/preferences
Mottainai

User avatar
blackbird
Posts: 98
Joined: 2023-08-17 04:42
Has thanked: 4 times
Been thanked: 24 times

Re: [Software] How to install regular FireFox (not ESR) in such a way so it updates automatically (Debian 11)

#20 Post by blackbird »

bbbhltz wrote: 2024-09-13 17:10 @Diesel330, if you edit the file above and change the "1000" to "1" then it actually works the way I claimed.

Code: Select all

$ sudo nano /etc/apt/preferences.d/mozilla

Package: *
Pin: origin packages.mozilla.org
Pin-Priority: 1
With priority 1 he won't get any updates of firefox (without esr) from Mozilla. I'd say a good priority would be greater 100 (priority of the backports) and smaller 500 (priority of the normal repos) -> maybe 200.
But I'm not sure if this is needed, having firefox-esr and firefox from Mozilla should be fine. They are both updated from the Mozilla repos.

Post Reply