Apt 更新错误 - “签名验证期间发生错误”(Chrome)

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 存储库页面

  • 没有过渡期:我每天都运行 apt,但这种情况仍然发生。 (11认同)
  • 维护人员是否有解决方案来自动化此过程?我想知道有多少用户会解决这个问题,因为今天的 Linux 不仅适用于极客?也许谷歌可以让更新更顺畅。 (5认同)
  • 如果没有 google + stack-exchange(askubuntu、stack-overflow 等),即使对于有经验的(“极客”?)Linux 用户来说,这也是不可能的。这是那些非常平等(谦卑)的问题之一,似乎只有有经验的用户才能轻松解决。有时你只需要谷歌一下——就像任何操作系统上的任何问题一样。 (2认同)

小智 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)

请参阅: Google Chrome PPA 升级无效签名