您的位置:首页 > 其它

ubuntu安装chrome报错libnss3

2014-04-18 11:11 162 查看
1、下载官网提供的最新版本(注意区分32位和64位)

2、进入到文件所在路径,执行安装命令:
~$ cd Downloads/
~/Downloads$ sudo dpkg -i google-chrome-stable_current_amd64.deb

如果提示以下信息:
dpkg: dependency problems prevent configuration of google-chrome-stable:
google-chrome-stable depends on libnss3 (>= 3.14.3); however:
Version of libnss3 on system is 3.13.1.with.ckbi.1.88-1ubuntu6.
dpkg: error processing google-chrome-stable (--install):
dependency problems - leaving unconfigured
则表示当前系统缺失chrome所需的库,进行第三步骤

3、添加软件库的源信息至sources.list中
sudo vi /etc/apt/sources.list
光标移动到文件末端,按i编辑
deb http://security.ubuntu.com/ubuntu precise-security main
按esc退出编辑模式,输入:wq保存并退出

4、更新软件库
sudo apt-get update
泣血的提示:ubuntu有时会脑抽,运行update命令时提示 0 updates,我去!没有东东被更新,这不折腾着玩呢么?别急,可以重试几次,如果还不行,重启机器再试,直到出现:
Preparing to replace libnss3 3.13.1.with.ckbi.1.88-1ubuntu6 (using .../libnss3_3.15.3.1-0ubuntu0.12.04.1_amd64.deb) ...
De-configuring libnss3:i386 ...
Unpacking replacement libnss3 ...
Preparing to replace libnss3:i386 3.13.1.with.ckbi.1.88-1ubuntu6 (using .../libnss3_3.15.3.1-0ubuntu0.12.04.1_i386.deb) ...
。。。 。。。
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

终于,可以下一步安装这些更新了。

sudo apt-get -f install

5、大功告成,到系统程序里去找chrome吧
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: