码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-07-19 20:33:52      阅读:232      评论:0      收藏:0      [点我收藏+]

标签:des   google   available   jsb   gnu   deb   his   一个   yahoo   

由于如今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版.

技术分享


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

标签:des   google   available   jsb   gnu   deb   his   一个   yahoo   

原文地址:http://www.cnblogs.com/ljbguanli/p/7207528.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!