[Solved] Firefox can't update to the latest version

Technical issues/questions of an intermediate or advanced nature.
User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

[Solved] Firefox can't update to the latest version

Post#16 by Ed_P » 26 Apr 2021, 16:13

burdi01 wrote:
26 Apr 2021, 10:01

Code: Select all

guest@porteus:~$ which firefox
which!!! I've never heard of this command. :shock:

And the .ini files in it look like the ones M. Eerie posted.

Code: Select all

guest@porteus:~$ which firefox
/usr/bin/firefox
guest@porteus:~$ ls -l /usr/bin/firefox
lrwxrwxrwx 1 root root 31 Mar 23 23:27 /usr/bin/firefox -> /usr/lib64/firefox-87.0/firefox*
guest@porteus:~$ ls -l /usr/lib64/firefox*/*.ini
-rw-r--r-- 1 root root  887 Mar 18 07:12 /usr/lib64/firefox-87.0/application.ini
-rw-r--r-- 1 root root 4003 Mar 18 06:35 /usr/lib64/firefox-87.0/crashreporter.ini
-rw-r--r-- 1 root root  164 Mar 18 07:46 /usr/lib64/firefox-87.0/platform.ini
-rw-r--r-- 1 root root  132 Mar 18 07:46 /usr/lib64/firefox-87.0/update-settings.ini
-rw-r--r-- 1 root root  638 Mar 18 07:46 /usr/lib64/firefox-87.0/updater.ini
-rw-r--r-- 1 root root  887 Mar 18 07:12 /usr/lib64/firefox/application.ini
-rw-r--r-- 1 root root 4003 Mar 18 06:35 /usr/lib64/firefox/crashreporter.ini
-rw-r--r-- 1 root root  164 Mar 18 07:46 /usr/lib64/firefox/platform.ini
-rw-r--r-- 1 root root  132 Mar 18 07:46 /usr/lib64/firefox/update-settings.ini
-rw-r--r-- 1 root root  638 Mar 18 07:46 /usr/lib64/firefox/updater.ini
guest@porteus:~$ 
What I am trying now is to change the app.update.interval from 6848000 to 68480000. Time will tell if it solves the problem.
Ed

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

[Solved] Firefox can't update to the latest version

Post#17 by Ed_P » 30 Apr 2021, 19:01

Ed_P wrote:
26 Apr 2021, 16:13
What I am trying now is to change the app.update.interval from 6848000 to 68480000. Time will tell if it solves the problem.
It failed after a day or two. :(

Added in 21 hours 16 minutes 26 seconds:
[Solved] Firefox can't update to the latest version
https://support.mozilla.org/en-US/questions/1197474 wrote: I believe there's actually two prefs: app.update.promptWaitTime controls the popups, app.update.badgeWaitTime controls the green icon. Given that that's the case, I would expect that changing these both to a really large number would work. The numbers are in seconds, so something like "999999999" would mean a delay of around 30 years between when the update is downloaded and when the notification is displayed, which is probably enough time.
Changed app.update.promptWaitTime to 999999999. We'll see how long it lasts.

Added in 2 hours 30 minutes 14 seconds:
[Solved] Firefox can't update to the latest version
Not even 24 hrs. :hammer:

Changed app.update.checkInstallTime.days from 63 to 363. Will see how long this works.

Added in 1 day 15 minutes 7 seconds:
[Solved] Firefox can't update to the latest version
Just a day. :wall:

Maybe a newer version will solve the problem. :unknown:

Going from server version 87.0 to 88.0.
Ed

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

[s][Solved][/s] Firefox can't update to the latest version

Post#18 by Ed_P » 10 Jun 2021, 20:33

How can the Alterivate Solution mentioned here be implemented in our Firefox modules? Where is the firefox executable stored in Porteus?

Added in 7 minutes 17 seconds:
/mnt/live/memory/images/firefox-87.0-x86_64-en-US.xzm/usr/lib64/firefox-87.0/distribution

Added in 6 minutes 48 seconds:

Code: Select all

guest@porteus:~$ ls -l /usr/lib64/firefox-87.0/distribution
total 5
-rwxr-xr-x 1 root root 466 Mar 23 23:27 distribution.ini*
-rw-r--r-- 1 root root  58 Jun 10 16:41 policies.json
guest@porteus:~$ cat /usr/lib64/firefox-87.0/distribution/policies.json
{
"policies": 
   {
     "DisableAppUpdate": true
    }
}
guest@porteus:~$ 
Added in 2 minutes 57 seconds:
Looks very promising so far. :happy62: :)
Ed

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

[s][Solved][/s] Firefox can't update to the latest version

Post#19 by Ed_P » 14 Jun 2021, 06:53

This works. :celebrate3: No update prompt in days. ncmp please add to future Firefox browser downloads.
Ed

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

[Solved] Firefox can't update to the latest version

Post#20 by ncmprhnsbl » 24 Jun 2021, 00:02

Ed_P wrote:
14 Jun 2021, 06:53
ncmp please add to future Firefox browser downloads.
done :) thanks
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Rapha_
Shogun
Shogun
Posts: 238
Joined: 12 Jun 2021, 21:59
Distribution: Xfce 4.12 - 5.rc3 - x86_64
Location: France

[Solved] Firefox can't update to the latest version

Post#21 by Rapha_ » 29 Aug 2021, 11:48

Thank you Ed_P for this help !

For those who want to configure the Firefox file "policies.json", they can have a help on these 2 sites:

- Policy templates for Firefox (v89)
https://github.com/mozilla/policy-templ ... /README.md

- The JSON Validator
https://jsonlint.com/

v1adimir
Ronin
Ronin
Posts: 1
Joined: 22 Oct 2021, 19:10
Distribution: Windblows
Location: Belgrade

[Solved] Firefox can't update to the latest version

Post#22 by v1adimir » 22 Oct 2021, 19:16

Ed_P wrote:
24 Apr 2021, 05:20
I saved the prefs.js file and restarted Firefox and I haven't seen the annoying window since.
Hi guys, just to note: editing prefs.js directly isn't the preferred method. The about:config settings should be set via the user.js file. There's loads of documentation regarding the issue, I'm just passing through at the moment, sorry for not providing any links. :)

Post Reply