【发布时间】:2015-05-12 01:49:21
【问题描述】:
背景: 我需要禁用 Firefox 的自动更新功能,因为当 Firefox 决定在 selenium 支持该版本之前更新时,我的 无头服务器 上的 selenium 测试失败。我也不是在这台服务器上安装 Firefox 的人。我相信是通过 yum install firefox
服务器:
- Fedora 19 薛定谔'
- Linux
- 内核版本:3.11.6-201.fc19.i686.PAE
- 处理器:i686
- 平台:i386
采取的措施:
$ cd ~/.mozilla/firefox/
(找不到 Profiles 目录,我要创建一个吗?)
$ firefox -v
(进程:11171):GLib-CRITICAL **:g_slice_set_config:断言 `sys_page_size == 0' 失败
我访问的信息链接: 我一定做错了什么。我似乎无法从这些链接中理解如何做我想做的事情:
- developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options
- support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_finding-your-profile-without-opening-firefox
- kb.mozillazine.org/Profile_Manager#Linux
- support.mozilla.org/en-US/questions/877235
【问题讨论】:
-
如果浏览器已使用系统包管理系统安装,则浏览器无法自行更新。它没有这样做的文件系统权限。