[Solved] Firefox can't update to the latest version
Posted: 05 Mar 2021, 05:45
Porteus User Forum
https://forum.porteus.org/
Code: Select all
guest@porteus:~$ getpkg firefox
Checking that mirror is online ...
--2021-03-05 09:19:44-- https://dfw.mirror.rackspace.com/slackware//slackware64-current/FILELIST.TXT
Resolving dfw.mirror.rackspace.com (dfw.mirror.rackspace.com)... 74.205.112.120
Connecting to dfw.mirror.rackspace.com (dfw.mirror.rackspace.com)|74.205.112.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1394469 (1.3M) [text/plain]
Saving to: ‘/tmp/getpkg/FILELIST.TXT’
FILELIST.TXT 100%[===================>] 1.33M 1010KB/s in 1.3s
2021-03-05 09:19:46 (1010 KB/s) - ‘/tmp/getpkg/FILELIST.TXT’ saved [1394469/1394469]
cat: firefox: Is a directory
No packages found.
guest@porteus:~$
Code: Select all
guest@porteus:~$ getpkg mozilla-firefox
Checking that mirror is online ...
--2021-03-05 19:01:23-- https://dfw.mirror.rackspace.com/slackware//slackware64-current/FILELIST.TXT
Resolving dfw.mirror.rackspace.com (dfw.mirror.rackspace.com)... 74.205.112.120
Connecting to dfw.mirror.rackspace.com (dfw.mirror.rackspace.com)|74.205.112.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1394469 (1.3M) [text/plain]
Saving to: ‘/tmp/getpkg/FILELIST.TXT’
FILELIST.TXT 100%[===================>] 1.33M 340KB/s in 4.2s
2021-03-05 19:01:28 (321 KB/s) - ‘/tmp/getpkg/FILELIST.TXT’ saved [1394469/1394469]
[OK] mozilla-firefox-78.8.0esr-x86_64-1.txz
Please enter a directory to download the packages to.
>
it's triggered by the updater finding updates.. if you're up-to-date, it shouldn't appear..
I was using 78.6.1, getpkg suggested 78.8.0, with Browser Selection and Update it suggested several updates including the current 86.0 that I downloaded.ncmprhnsbl wrote: ↑06 Mar 2021, 02:43it's triggered by the updater finding updates.. if you're up-to-date, it shouldn't appear..
Code: Select all
# Folders listed in this config file will be saved during reboot and shutdown when 'changes=EXIT:' cheatcode is used.
# Folders starting with '!' are omitted. This is useful if you want to save whole folder except for particular subfolder(s).
# An example is inclued in default config below: Porteus will save whole /var folder except for /var/run and /var/tmp subfolders.
# Other example: "!/home/guest/.mozilla/firefox/c3pp43bg.default/Cache" will skip saving of Firefox caches from guest account.
# Thanks to Rava for suggesting implementation of '!' exceptions.
/bin
/etc
/home
/lib
/lib64
/opt
/root
/sbin
/usr
/var
!/var/run
!/var/tmp
!/home/guest/.cache/thumbnails/normal
!/home/guest/.cache/mozilla/firefox/dxsqumip.default/thumbnails/
!/home/guest/.mozilla/firefox/Crash?Reports/pending/
!/home/guest/.mozilla/firefox/dxsqumip.default/storage/default/
!/home/guest/.mozilla/firefox/dxsqumip.default/datareporting/archived
!/home/guest/.java/deployment/cache/6.0/
!/root/.local/share/Trash/
!/root/.cache/thumbnails/normal
The middle line was already present so I added the top and bottom ones. I saved the prefs.js file and restarted Firefox and I haven't seen the annoying window since. But time will tell.https://superuser.com/questions/1325421/how-to-stop-firefox-update-notifications wrote:Then add these following three lines. These preferences are of the boolean type. If you find any of these lines are already present, replace that with the following:
user_pref("app.update.auto", false);
user_pref("app.update.disable_button.showUpdateHistory", false);
user_pref("app.update.enabled", false);
Code: Select all
; If you modify this file updates may fail.
; Do not modify this file.
[Settings]
ACCEPTED_MAR_CHANNEL_IDS=firefox-mozilla-esr
Code: Select all
[Build]
BuildID=20210412162915
Milestone=78.10.0
SourceRepository=https://hg.mozilla.org/releases/mozilla-esr78
SourceStamp=0dac34b853c6879d421456128afa3c4a5a4e86ff
Code: Select all
; This file is not used. If you modify it and want the application to use
; your modifications, move it under the browser/ subdirectory and start with
; the "-app /path/to/browser/application.ini" argument.
[App]
Vendor=Mozilla
Name=Firefox
RemotingName=firefox
Version=78.10.0
BuildID=20210412162915
SourceRepository=https://hg.mozilla.org/releases/mozilla-esr78
SourceStamp=0dac34b853c6879d421456128afa3c4a5a4e86ff
ID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}
[Gecko]
MinVersion=78.10.0
MaxVersion=78.10.0
[XRE]
EnableProfileMigrator=1
[Crash Reporter]
Enabled=1
ServerURL=https://crash-reports.mozilla.com/submit?id={ec8030f7-c20a-464f-9b0e-13a3a9e97384}&version=78.10.0&buildid=20210412162915
[AppUpdate]
URL=https://aus5.mozilla.org/update/6/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%SYSTEM_CAPABILITIES%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml
Code: Select all
root@porteus:/home/guest# ls /usr/lib/firefox
/bin/ls: cannot access '/usr/lib/firefox': No such file or directory
Code: Select all
guest@porteus:~$ which firefox
/usr/bin/firefox
guest@porteus:~$ ls -l /usr/bin/firefox
lrwxrwxrwx 1 root root 33 Apr 26 11:48 /usr/bin/firefox -> /usr/lib64/firefox-89.0b4/firefox*