当前位置: 代码迷 >> 综合 >> 升级debian stable(wheezy)的iceweasel(firefox).
  详细解决方案

升级debian stable(wheezy)的iceweasel(firefox).

热度:4   发布时间:2023-12-08 03:07:19.0

因为现在stable(wheezy)的firefox(iceweasel) 版本是24.7, 插件firebug2.0不支持这个版本. 为了想用firebug, 不得不来升级.


这里我们用backports

打开http://mozilla.debian.net/

选中自己的版本, 想要升级的iceweasel版本. 这里我想用beta版



在/etc/apt/sources.list.d/ 里面新建一个文件,  下面的所有操作都是在root用户下进行的, $su - 切换到#, 把上面的源地址写到新文件里面去.

#touch /etc/apt/sources.list.d/diceweasel-beta.list
#echo "deb http://mozilla.debian.net/ wheezy-backports iceweasel-beta" > /etc/apt/sources.list.d/iceweasel-beta.list

然后执行

#apt-get update

这时候会报错.

Fetched 264 kB in 26s (9,798 B/s)
Reading package lists... Done
W: GPG error: http://mozilla.debian.net wheezy-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 85A3D26506C4AE2A

添加公钥

#gpg --keyserver keys.gnupg.net --recv-key 06C4AE2A 
#gpg -a --export 06C4AE2A | apt-key add -

接着就可以重新update了

#apt-get update

#apt-get upgrade 会提示是否更新iceweasel

#apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:iceweasel
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 34.5 MB of archives.
After this operation, 73.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://mozilla.debian.net/ wheezy-backports/iceweasel-beta iceweasel amd64 32.0~b3-1~bpo70+1 [34.5 MB]
Fetched 34.5 MB in 13s (2,527 kB/s)                                                                                                                                                                 
Reading changelogs... Done
apt-listchanges: Mailing root: apt-listchanges: news for debian
(Reading database ... 227929 files and directories currently installed.)
Preparing to replace iceweasel 24.7.0esr-1~deb7u1 (using .../iceweasel_32.0~b3-1~bpo70+1_amd64.deb) ...
Leaving 'diversion of /usr/bin/firefox to /usr/bin/firefox.real by iceweasel'
Unpacking replacement iceweasel ...
Processing triggers for mime-support ...
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for menu ...
Setting up iceweasel (32.0~b3-1~bpo70+1) ...
Installing new version of config file /etc/iceweasel/searchplugins/locale/en-US/bing.xml ...
Installing new version of config file /etc/iceweasel/searchplugins/locale/en-US/eBay.xml ...
Installing new version of config file /etc/iceweasel/searchplugins/locale/en-US/wikipedia.xml ...
Installing new version of config file /etc/iceweasel/searchplugins/locale/en-US/yahoo.xml ...
Installing new version of config file /etc/iceweasel/searchplugins/locale/en-US/twitter.xml ...
Installing new version of config file /etc/iceweasel/searchplugins/locale/en-US/google.xml ...
Installing new version of config file /etc/iceweasel/searchplugins/locale/en-US/amazondotcom.xml ...
Processing triggers for menu ...

重新打开iceweasel发现已经更新到beta版.



  相关解决方案