禁用Firefox更新Ubuntu服务器 [英] Disable Firefox Updates Ubuntu Server
问题描述
我们需要版本< 47因为Selenium与Firefox版本47
已经试过:
nano /usr/lib/firefox/defaults/pref/channel-prefs.js $ b $ nano / usr / lib / firefox / browser / defaults / preferences / nano syspref.js
nano /usr/lib/firefox/browser/defaults/preferences/user.js
注释掉://pref(\"app.update.channel,ease);并输入以下内容:pref(app.update.enabled,false); pref(app.update.silent,false);
我还在〜/ .mozilla中创建了一个profile文件夹,并添加了一个文本文件:// turn关闭应用程序更新:user_pref(app.update.enabled,false);
我也尝试从iptables阻止mozilla.org,但这也没有帮助。
firefox安装
firefox-locale-en安装
firefox-locale-es安装
unity-scope-firefoxbookmarks安装
[13:17 :03] [root @ robert]
[〜]
$ echo firefox hold | sudo dpkg --set-selections
[13:17:20] [root @ robert]
[〜]
$ dpkg --get-selections | grep firefox
firefox hold
firefox-locale-en install
firefox-locale-es install
unity-scope-firefoxbookmarks install
并保留:
[13:17: 24] [root @ robert]
[〜]
$ sudo apt-mark unhold firefox
在Firefox上取消保留。
[13:17:34] [root @ robert]
[〜]
$ dpkg --get-selections | grep firefox
firefox安装
firefox-locale-en安装
firefox-locale-es安装
unity-scope-firefoxbookmarks安装
Ok so we downgraded Firefox 47 to previous stable version. BUT firefox keeps updating everyday to 47! Is there any way to completely stop firefox updates in Ubuntu server 14.04 (without GUI,only terminal) ?
We need versions <47 because Selenium has issues with Firefox version 47
Already Tried: nano /usr/lib/firefox/defaults/pref/channel-prefs.js nano /usr/lib/firefox/browser/defaults/preferences/nano syspref.js nano /usr/lib/firefox/browser/defaults/preferences/user.js
commented out this: //pref("app.update.channel", "release"); and entered the following: pref("app.update.enabled", false); pref("app.update.silent", false);
I also created a profile folder in ~/.mozilla and added a text files with these: // turn off application updates: user_pref("app.update.enabled", false);
I also tried to block mozilla.org from iptables but that didn't help either.
To Hold firefox:
$ dpkg --get-selections | grep firefox
firefox install
firefox-locale-en install
firefox-locale-es install
unity-scope-firefoxbookmarks install
[13:17:03][root@robert]
[~]
$ echo firefox hold | sudo dpkg --set-selections
[13:17:20][root@robert]
[~]
$ dpkg --get-selections | grep firefox
firefox hold
firefox-locale-en install
firefox-locale-es install
unity-scope-firefoxbookmarks install
And to unhold:
[13:17:24][root@robert]
[~]
$ sudo apt-mark unhold firefox
Canceled hold on firefox.
[13:17:34][root@robert]
[~]
$ dpkg --get-selections | grep firefox
firefox install
firefox-locale-en install
firefox-locale-es install
unity-scope-firefoxbookmarks install
这篇关于禁用Firefox更新Ubuntu服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!