Jos*_*ose 107 updates apt google-chrome
更新时,我收到以下消息:
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
Run Code Online (Sandbox Code Playgroud)
我在 Ubuntu 16.04 上,目前使用 Chrome 60.0.3112.90。有什么建议?我也在尝试安装 libimobiledevice 但显然系统没有读取我刚刚添加 PPA 的存储库,因为我无法安装它。在此先感谢您的帮助。
Dav*_*ave 161
显然,谷歌更改了 Chrome Linux 存储库的密钥。您可以通过从 Google 导入新的 repo 密钥来修复它:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
Run Code Online (Sandbox Code Playgroud)
现在您应该能够毫无错误地更新系统。
这适用于基于 APT 的发行版:Debian、Ubuntu 和衍生产品(Linux Mint、Kubuntu、Xubuntu、Lubuntu 等)
有关基于 RPM 的系统(Fedora、CentOS、openSUSE 等)的更多信息和修复,请参阅官方Google Linux 存储库页面。
小智 30
尝试这个:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6494C6D6997C215E
Run Code Online (Sandbox Code Playgroud)
和
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
小智 7
这应该为您解决
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
Run Code Online (Sandbox Code Playgroud)