Linux firefox disable update

Disable Firefox auto-update in Linux

«app.update.auto», «app.update.enabled» and «app.update.silent» configuration parameters (in «about:config») of the Firefox profile are disabled by default. Does that mean it would not be auto-updated? Is it the case with such types of installation?

Any recommendation would be helpful.

Are the configuration changes done using browser? or modified using files? Did you happen to check this?

@Rao, the configuration was present by default. After following steps 1 and 2, I just checked the configuration settings from the browser and it was already disabled.

4 Answers 4

You can set these prefs in about:config to disable automatic updating:

app.update.auto - false app.update.enabled - false app.update.silent - false 

You need to enter about:config in the address bar and then search for each pref in a list.

Thanks @4M01. But, these configuration settings are set to false by default in the «about:config» of the installed Firefox. Just wanted to understand why these are set to false by default. Is it anything to do with the way of installation (steps 1 and 2 above).

@Avipsa, I am not sure why it’s showing disabled by default. Any standard installation always has auto update by default ON. This is to make sure user uses very recent app which is less vulnerable and more enhanced, secured.

In linux, one solution is that after you download firefox and extract it (you can download tar from here). Then change the owner and group to root, for example:

find .|xargs sudo chown root find .|xargs sudo chgrp root 

Because of the permission, firefox cannot update now

When installing Firefox, choose the customize radio button instead of default installation may be in 2nd or 3rd screen of the installation wizard and uncheck Mozilla/Firefox maintenance service . It will certainly work.

There are 3 files under the installation directory (at least on windows. So I believe, similar files should be on linux as well).

1. updater.exe 2. updater.ini 3. update-settings.init 

After removing these files, I was able to stop auto upgrade. Deleting these files will automatically change the auto update of firefox i.e. settings>advanced>Never check for update option as well.

Important: Remove these files before your first launch of the browser.

Источник

Linux firefox disable update

Please visit the original link:https://sysin.org/blog/disable-firefox-auto-update/, Check the latest version. Original work, please keep the source.

Читайте также:  Linux image backup server

Author: GC (AT) sysin.org, Home:www.sysin.org

Firefox for macOS

Method 1: Configure the policy file

Get the latest or corresponding version of the policy template:https://github.com/mozilla/policy-templates/releases

The automatic update policy is described as follows:

Create a Firefox policy configuration file

Disable automatic updates will write the following in the policies.json file

You can do the following command directly in the terminal:

# Create a directory (SYSIN) mkdir /Applications/Firefox.app/Contents/Resources/distribution echo ' < "policies": < "DisableAppUpdate": true >> ' > /Applications/Firefox.app/Contents/Resources/distribution/policies.json 

Method 2: Use the PLIST configuration policy

Configure org.mozilla.firefox.plist content as follows:

sudo defaults write /Library/Preferences/org.mozilla.firefox EnterprisePoliciesEnabled -bool TRUE 
sudo defaults write /Library/Preferences/org.mozilla.firefox DisableAppUpdate -bool TRUE 

verify

At this point, «Firefox Update» in the «Preference», «Firefox Update», prompt «Update has been disabled», and check the update button is not available!

disable-firefox-auto-update-mac

Firefox for Linux

Disable Firefox comes with update

On Linux, the file goes into firefox/distribution , where firefox is the installation directory for firefox, which varies by distribution or you can specify system-wide policy by placing the file in /etc/firefox/policies .

Write the policies.json file in the path described above, the content is as follows:

For example: In Ubuntu 20.04, Firefox is installed by default /usr/lib/firefox In the directory, the creation steps are as follows:

## The default distribution directory already exists, if there is no manual creation #mkdir /usr/lib/firefox/distribution echo ' < "policies": < "DisableAppUpdate": true >> ' > /usr/lib/firefox/distribution/policies.json 

Or, create a policy file directly at the system level, regardless of the Firefox installation path:

mkdir /etc/firefox/policies echo ' < "policies": < "DisableAppUpdate": true >> ' > /etc/firefox/policies/policies.json 

Disable updates in package management

Linux software updates typically depend on the system level package management mechanism (such as APT and YUM), we can manually control whether it is updated.

Firefox Stability (Fast Release) The package name in Linux is: Firefox, another Firefox (ESR) extension support version (Firefox-ESR)

Disable Firefox updates in Debian and derivatives:

sudo apt-mark hold firefox # recover #sudo apt-mark unhold firefox 

Disable Firefox updates in redhat and derivatives:

echo 'exclude=firefox' >> /etc/yum.conf # recover # Edit /etc/yum.conf Delete Exclude = Firefox 

Firefox for Windows

Method 1: Use the policy file

Create a policy file: \ distribution \ policies.json

The content is as follows,

Method 2: Using registry

  • Browse to «HKEY_LOCAL_MACHINE \ Software \ Policies» to create an item «mozilla», create item «firefox», created «HKEY_LOCAL_MACHINE \ Software \ Policies \ Mozilla \ Firefox»
  • In the above path, right-click on the blank place (SYSIN), create a new DWORD (32-bit) value, named «disableappupdate»
  • Double-click Create «DisableAppUpdate» and modify the value to «1».

Use registry files directly:

Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox] "DisableAppUpdate"=dword:00000001 

Use CMD directly(Recommended, most convenient):

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox" /v DisableAppUpdate /t REG_DWORD /d 1 /f 

Verification effect

The «Firefox Update» in the «Option», «Update has been disabled by the system administrator», check the update button is not available!

Читайте также:  Linux dhcp client restart

The prompt «update has been disabled» is disabled by the system administrator «in the Firefox dialog.

Firefox download

Note: Firefox distinguishes interface language, if you need to replace the link suffix en-CN to EN-US if you need to read the link suffix zh-cn.

Download the latest version (fixed link):

How to download the specified version:

appendix

Источник

Disable or control upgrading of Firefox

Sorry. We just need to do one small thing to keep going. We have just installed an update in the background. Click Restart Firefox to finish applying it. We will restore all your pages, windows and tabs afterwards, so you can be on your way quickly.

Settings

While Firefox may restore all pages, it will not restore state (E.g. YouTube video paused at 3:36). I find it OK that Firefox tells me, that there is a new version downloaded (Tor browser does that), but I want to be in control of when I want to restart. If I had been doing a presentation in Firefox this would have been a real problem. So how do I disable the forced restart? My settings are: OS: Ubuntu 20.04.

What OS are you using? In Debian-based Linux (like Ubuntu etc.), the solution is sudo apt-mark hold firefox . I beiieve that on Windows, it’s a service which you could try to disable.

Have you read here? It looks like you read that message when the executable (libraries etc) had already been updated in the background. If your OS-specific settings don’t allow this in Firefox, it must be the OS. Stopping the update of Firefox and all the libraries it relies on should be enough to avoid running into this situation. It could also depend on a plug-in or an add-on, but it is unlikely.

8 Answers 8

I’m using Ubuntu (various releases) for over 10 years, and Firefox never updated automatically in background, not speaking about forced restart. I always had — and still have — to manually trigger any updates. Why?

The Ubuntu version of Firefox has Firefox’s own update mechanism removed, and Firefox is updated by generic system update tool together with all other installed packages if they need an update (that’s what you’d expect from a decent package management system, wouldn’t you?).

In your System Settings app, go to the last tab (Information) and click Updates at the bottom of that window. In the new window that appears, click again Updates tab. You will be able to select what your system should do with security updates (as Firefox updates are classified in that category). There are three options: only notify about updates, automatically download (but not install) and automatically download & install. You probably have the last one selected — select any of the two others. Myself I prefer the first one; thus updates will never install unexpectedly, you will always have to manually trigger the update download and installation process.

Читайте также:  Process started time in linux

(You can also turn any system updates off completely in that window, but I don’t recommend that.)

Источник

How to stop Firefox from auto updating in Linux

In Linux, Firefox has this bad habit of wanting to update itself when you’re not ready to perform that task. And it will not let you open a new tab or window until you allow it to apply the update. I find it very annoying. There are any number of knobs you can tune to disable this feature in about:config, but there’s no guarantee that they’ll work as expected. And if you use more than one Firefox profile, as most power users do, you’ll have to tune about:config for each profile. In this post, I’ll show you how to do it system-wide, and it’s guaranteed to work.

With the default setting, Firefox will download and install the update in the background, and then throw up the prompt shown here when you want to open a new tab or window. That means you won’t be able to open that new tab or window until you agree to restart Firefox. And that almost always happens when I’m in the middle of doing something very important and not ready to restart Firefox.

Firefox auto update prompt

Figure 1: Firefox prompt when an update is available.

This image show the relevant section in Firefox’s settings. Linux users used to be able to disable automatic updates from this section. Not any more.

Firefox auto updates Linux

Figure 2: Firefox auto updates settings in Linux.

Alright, so how do you stop Firefox from annoying you – permanently? Simple, just follow these steps form your command line, so you need to have a terminal application open:

Step 1

Change directory to /etc/firefox. The command to use is cd /etc/firefox. A listing should show a directory – pref, and a file – syspref.js.

Step 2

Create a new directory called policies. The command to use is sudo mkdir policies. Then change to the new directory using the cd policies command.

Step 3

Within that directory, create a new file called policies.json using the sudo nano policies.json command. Then add the following block of code into that file. Save and close it. That’s it! Firefox will never, ever bug you again, and Firefox will only update when you update the other applications on your system using your package manager.

Источник

Оцените статью
Adblock
detector