更新时我收到以下消息:
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 的存储库,因为我无法安装它。提前感谢任何帮助。
答案1
显然,Google 更改了 Chrome Linux 存储库的密钥。您可以通过从 Google 导入新的存储库密钥来修复此问题:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
现在您应该能够无错误地更新系统。
这适用于基于 APT 的发行版:Debian、Ubuntu 及其衍生产品(Linux Mint、Kubuntu、Xubuntu、Lubuntu 等)
有关基于 RPM 的系统(Fedora、CentOS、openSUSE 等)的更多信息和修复,请参阅官方Google Linux 存储库页面。
答案2
尝试这个:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6494C6D6997C215E
和
sudo apt-get update
答案3
这应该可以帮你解决这个问题
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -