由于 libnss3(>= 3.14.3)无法在 ubuntu 12.10 上安装 google-chrome-stable

由于 libnss3(>= 3.14.3)无法在 ubuntu 12.10 上安装 google-chrome-stable

我的 Vimium 插件在 Google Chrome 中停止工作,因此我卸载了它以安装更新的版本。由于 libnss3 包的依赖版本不正确,我无法再安装它。我尝试重新安装该包,但它重新安装到相同的版本。

以下是安装失败的输出:

$ sudo apt-get install google-chrome-stable 
Reading package lists... Done 
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have 
requested an impossible situation or if you are using the unstable 
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 google-chrome-stable : Depends: libnss3 (>= 3.14.3) but 3.13.1.with.ckbi.1.88-1ubuntu7 is to be installed
E: Unable to correct problems, you have held broken packages.

尝试使用以下命令将 libnss3 安装到该特定版本:

sudo apt-get install libnss3=3.14.3

但它没有找到该版本。

答案1

您可能需要清除 google-chrome、libnss3、libnss3-1d,然后执行自动删除,然后执行自动清理。然后从官方存储库再次安装 libnss3 和 libnss3-1d。然后转到 google 并重新下载 chrome,然后重新安装。

sudo apt-get purge ***name of packages && sudo apt-get autoremove && sudo apt-get autoclean && sudo apt-get install ***libnss3 libnss3-1d 

答案2

添加deb http://security.ubuntu.com/ubuntu precise-security main到末尾/etc/apt/sources.list

添加 gpg 密钥

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8BAF9A6F

进行更新

sudo apt-get update

最后安装 libsslsudo apt-get install libnss3

相关内容