问题描述
更新时,我收到以下消息:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used.
GPG error: http://dl.google.com/linux/chrome/deb stable Release:
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
我在Ubuntu 16.04上,目前使用Chrome 60.0.3112.90。有什么建议么?我也尝试安装libimobiledevice,但显然系统没有读取我刚刚添加PPA的存储库,因为我无法安装它。预先感谢您的帮助。
最佳解决办法
Google显然改变了Chrome Linux回购的关键。您可以通过从Google导入新的回购密钥来修复它:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
现在你应该能够无误地更新系统。
这适用于APT-based发行版:Debian,Ubuntu和衍生产品(Linux Mint,Kubuntu,Xubuntu,Lubuntu等)
有关RPM-based系统(Fedora,CentOS,openSUSE等)的更多信息和修复,请参阅官方Google Linux repositories page。
次佳解决办法
尝试这个:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6494C6D6997C215E
和
sudo apt-get update
第三种解决办法
这应该为你解决它
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
参考资料