Technical issues/questions of an intermediate or advanced nature.
-
Ed_P
- Contributor
![Contributor Contributor](./images/ranks/contributor.gif)
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#1
by Ed_P » 05 Mar 2021, 05:45
Anyone know how to disable this prompt?
I've done the about:config and disabled several update settings but still getting this prompt.
![Wall :wall:](./images/smilies/wall.gif)
Ed
Ed_P
-
ncmprhnsbl
- DEV Team
![DEV Team DEV Team](./images/ranks/devteam.gif)
- Posts: 3941
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
-
Contact:
Post#2
by ncmprhnsbl » 05 Mar 2021, 09:42
seems they've hardcoded this in, in their precompiled binaries.. afaics..
distros build firefox with --disable-updater option to get around this..
the package from current should be ok.. getpkg firefox
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
ncmprhnsbl
-
Ed_P
- Contributor
![Contributor Contributor](./images/ranks/contributor.gif)
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#3
by Ed_P » 05 Mar 2021, 14:27
ncmprhnsbl wrote: ↑05 Mar 2021, 09:42
the package from current should be ok.. getpkg firefox
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:~$
![What?? :%)](./images/smilies/confused1.gif)
Ed
Ed_P
-
beny
- Full of knowledge
![Full of knowledge Full of knowledge](./images/ranks/Super.png)
- Posts: 2098
- Joined: 02 Jan 2011, 11:33
- Location: italy
Post#4
by beny » 05 Mar 2021, 16:41
Ed_P if you do a search on slackware forum maybe you can find a ruario script that repack firefox in the slackware way you can choose the version you want :esr or last or beta one,you can grab the last current version esr from the slackware current repos /xap and i am a bit rusted getpkg don't is a debian command?
beny
-
ncmprhnsbl
- DEV Team
![DEV Team DEV Team](./images/ranks/devteam.gif)
- Posts: 3941
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
-
Contact:
Post#5
by ncmprhnsbl » 05 Mar 2021, 23:37
beny wrote: ↑05 Mar 2021, 16:41
i am a bit rusted getpkg don't is a debian command?
getpkg is a porteus script (/usr/local/bin/getpkg) that fetches packages from the slackware repo..
yeah, sorry Ed, try
getpkg mozilla-firefox (getpkg isn't very sophisticated, package names need to be exact)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
ncmprhnsbl
-
Ed_P
- Contributor
![Contributor Contributor](./images/ranks/contributor.gif)
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#6
by Ed_P » 06 Mar 2021, 00:18
Thank you guys.
I tried the new command suggestion and it looks promising.
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.
>
Somewhat surprised it showed the firefox 78 esr rather than an option to select one of several like the porteus browser upgrade app.
I'm currently testing the Porteus apps' firefox 86.0 version and no prompt so far, but since i don't know what triggers it, time, date, etc will have to wait an see.
BTW This in my 4.0 Cinnamon system.
![Smile :)](./images/smilies/smile.gif)
Ed
Ed_P
-
ncmprhnsbl
- DEV Team
![DEV Team DEV Team](./images/ranks/devteam.gif)
- Posts: 3941
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
-
Contact:
Post#7
by ncmprhnsbl » 06 Mar 2021, 02:43
Ed_P wrote: ↑06 Mar 2021, 00:18
Somewhat surprised it showed the firefox 78 esr rather than an option to select one of several like the porteus browser upgrade app.
Ed_P wrote: ↑06 Mar 2021, 00:18
but since i don't know what triggers it, time, date, etc will have to wait an see.
it's triggered by the updater finding updates.. if you're up-to-date, it shouldn't appear..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
ncmprhnsbl
-
Ed_P
- Contributor
![Contributor Contributor](./images/ranks/contributor.gif)
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#8
by Ed_P » 06 Mar 2021, 05:11
ncmprhnsbl wrote: ↑06 Mar 2021, 02:43
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.
If the Firefox update window is triggered by the updater finding updates, how do I control when and how often the updater is checking for updates?
Ed
Ed_P
-
ncmprhnsbl
- DEV Team
![DEV Team DEV Team](./images/ranks/devteam.gif)
- Posts: 3941
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
-
Contact:
Post#9
by ncmprhnsbl » 06 Mar 2021, 08:50
maybe: about:config : app.update.interval ..default is 43200 seconds(12 hours) ... 604800 would be 7 days or some even larger number should shut it up..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
ncmprhnsbl
-
Ed_P
- Contributor
![Contributor Contributor](./images/ranks/contributor.gif)
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#10
by Ed_P » 06 Mar 2021, 22:46
Thank you
ncmp. I just got the prompt window and updated the interval to 6048000. Will see what tomorrow brings.
I have another annoying prompt that maybe you've got some ideas on. I use the StopAll Ads add-on and it works great but every day when I boot my system and start Firefox a tab opens saying StopAll Ads has been installed. Any ideas on why and how to stop it? My changes-exit.conf file is:
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
Added in 3 hours 41 seconds:
hmmm One of the last two firefox ones might be the problem. Also the /home/guest/.mozilla/firefox/dxsqumip.default/distribution/url.txt file is interesting.
Added in 5 hours 11 seconds:
Yup, the /home/guest/.mozilla/firefox/dxsqumip.default/storage/default/ folder contains two moz* folders linked to the StopAll Ads extension. Tweaking the changes-exit.conf file solved the problem.
Added in 8 hours 39 minutes 47 seconds:
12 hrs later and no Firefox Update window.
![Oh Yeah :celebrate3:](./images/smilies/celebrate3.gif)
Thank you
ncmp.
![Worship :worship:](./images/smilies/worship.gif)
Ed
Ed_P
-
Ed_P
- Contributor
![Contributor Contributor](./images/ranks/contributor.gif)
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#11
by Ed_P » 23 Apr 2021, 16:21
Was getting the "Firefox can't update to the latest version" window again, even after updating to the 87.0 release and the app.update.interval set to 6848000. I am currently trying a new solution that I found.
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.
Added in 12 hours 58 minutes 52 seconds:
Crap! Well, that didn't work. The prompt just popped up.
![Mad :x](./images/smilies/aggressive.gif)
Ed
Ed_P
-
M. Eerie
- Moderator
![Moderator Moderator](./images/ranks/moderator.gif)
- Posts: 622
- Joined: 31 Aug 2017, 21:18
- Distribution: Nemesis Xfce/MATE x64
Post#12
by M. Eerie » 25 Apr 2021, 09:27
Was it solved then?
I assume yoy have checked .ini files in
/usr/lib/firefox/ folder.
update-settings.ini should read like this:
Code: Select all
; If you modify this file updates may fail.
; Do not modify this file.
[Settings]
ACCEPTED_MAR_CHANNEL_IDS=firefox-mozilla-esr
Also "
platform.ini" in that folder should be something like:
Code: Select all
[Build]
BuildID=20210412162915
Milestone=78.10.0
SourceRepository=https://hg.mozilla.org/releases/mozilla-esr78
SourceStamp=0dac34b853c6879d421456128afa3c4a5a4e86ff
And finally a standard "
application.ini"
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
Then, I think related settings should be reset in about:config page.
> Does not compute_
https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584
M. Eerie
-
Ed_P
- Contributor
![Contributor Contributor](./images/ranks/contributor.gif)
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#13
by Ed_P » 25 Apr 2021, 17:30
Code: Select all
root@porteus:/home/guest# ls /usr/lib/firefox
/bin/ls: cannot access '/usr/lib/firefox': No such file or directory
Ed
Ed_P
-
M. Eerie
- Moderator
![Moderator Moderator](./images/ranks/moderator.gif)
- Posts: 622
- Joined: 31 Aug 2017, 21:18
- Distribution: Nemesis Xfce/MATE x64
Post#14
by M. Eerie » 25 Apr 2021, 19:26
Ok, I've presumed a wrong directory. Maybe it is located in /opt/firefox ???
> Does not compute_
https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584
M. Eerie
-
burdi01
- Shogun
![Shogun Shogun](./images/ranks/SilverStar5.png)
- Posts: 206
- Joined: 18 Aug 2013, 12:09
- Distribution: Slackware PartedMagic Xubuntu
- Location: The Netherlands
Post#15
by burdi01 » 26 Apr 2021, 10:01
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*
![Big Smile :D](./images/smilies/biggrin.gif)
burdi01