当我sudo apt-get update
在完全更新的 Ubuntu 16.04.6 LTS 上运行时,我收到以下关于 Google 存储库的错误:
$ sudo apt update
...
Err:20 http://dl.google.com/linux/earth/deb stable Release.gpg
The following signatures were invalid: KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520
Get:21 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Err:13 http://dl.google.com/linux/chrome/deb stable Release.gpg
The following signatures were invalid: KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520
...
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/earth/deb stable Release: The following signatures were invalid: KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520
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 were invalid: KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg The following signatures were invalid: KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520
W: Failed to fetch http://dl.google.com/linux/earth/deb/dists/stable/Release.gpg The following signatures were invalid: KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520
W: Some index files failed to download. They have been ignored, or old ones used instead.
apt-key list
回报:
pub 1024D/7FAC5991 2007-03-08
uid Google, Inc. Linux Package Signing Key <[email protected]>
sub 2048g/C07CB649 2007-03-08
pub 4096R/D38B4796 2016-04-12
uid Google Inc. (Linux Packages Signing Authority) <[email protected]>
sub 4096R/997C215E 2017-01-24 [expires: 2020-01-24]
删除 Google 密钥和软件包
sudo apt-key del D38B4796
sudo apt-key del 7FAC5991
sudo apt purge google-chrome-stable
sudo apt purge google-earth-pro-stable
sudo apt purge google-earth-stable
并重新安装软件包
cd ~/Downloads
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt-get install --reinstall ./google-chrome-stable_current_amd64.deb
wget https://dl.google.com/dl/earth/client/current/google-earth-pro-stable_current_amd64.deb
sudo apt-get install --reinstall ./google-earth-pro-stable_current_amd64.deb
没有帮助。
从https://www.google.com/linuxrepositories/执行命令:
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
没有帮助。
我应该如何解决它?
我还做了什么: 1. 通过帮助 → 报告问题
从 Google Chrome 发送反馈。2. 使用帮助 → 发送
反馈从 Google 地球发送反馈。3. 在谷歌浏览器帮助
上创建线程
它现在已在 Google 端修复,因此您可以通过 apt 正常更新而无需解决方法。
(抱歉,由于 <50 声望,无法发表评论。)
Ubuntu 16.04 LTS 的当前状态:
如果您仍然有问题 - 然后删除 GPG 密钥并将 GPG 密钥重新添加到系统中
或者
并更新软件包列表:
我还必须删除chrome- remote -desktop
以避免在更新运行时出现剩余的抱怨。
把它留在这里......升级它时,Azure DSVM 中会出现类似的错误。以下将更新密钥