我使用sudo apt-get -f install google-chrome-stable
安装了谷歌浏览器
但是它在终端中返回以下错误
shamila@shamila-Satellite-S55-B:~$ sudo apt-get -f 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 (>= 2:3.22) but 2:3.19.2-0ubuntu15.04.1 is to be installed
Recommends: libu2f-udev but it is not installable
E: Unable to correct problems, you have held broken packages.
我的Ubuntu版本是Ubuntu 15.04 64位。在Google中尝试了许多解决方案,但没有一个对我有用
答案 0 :(得分:1)
与https://superuser.com/a/720908重复
通过此链接http://packages.ubuntu.com/precise/amd64/libnss3/download解决了该问题。
sudo apt-get更新
这可能会导致gpg键错误。 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8BAF9A6F。 (请参阅:https://askubuntu.com/questions/13065/how-do-i-fix-the-gpg-error-no-pubkey)。
如果发生gpg错误,再次运行sudo apt-get update。
sudo apt-get install libnss3。
这为我安装了最新的libnss3,并解决了安装google-chrome的问题。
答案 1 :(得分:-1)
尝试一下:
detaildate detailquantity
0 2014-05-06 8550
1 2014-05-08 0
detaildate detailquantity
0 2015-03-03 -3250
1 2015-04-14 -3250
2 2015-05-19 3250
3 2015-05-20 -1200
detaildate detailquantity
0 2016-02-22 40000
1 2016-04-23 -4500
2 2016-05-23 -2500
3 2016-05-30 -5000
detaildate detailquantity
0 2017-04-03 -4750
1 2017-06-05 -2000