Page 2 of 2

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

Posted: 26 Apr 2021, 16:13
by Ed_P
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.

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

Posted: 30 Apr 2021, 19:01
by Ed_P
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.

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

Posted: 10 Jun 2021, 20:33
by Ed_P
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: :)

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

Posted: 14 Jun 2021, 06:53
by Ed_P
This works. :celebrate3: No update prompt in days. ncmp please add to future Firefox browser downloads.

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

Posted: 24 Jun 2021, 00:02
by ncmprhnsbl
Ed_P wrote:
14 Jun 2021, 06:53
ncmp please add to future Firefox browser downloads.
done :) thanks

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

Posted: 29 Aug 2021, 11:48
by Rapha_
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/

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

Posted: 22 Oct 2021, 19:16
by v1adimir
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. :)