【发布时间】:2018-05-30 00:45:36
【问题描述】:
当我这样做时出现以下错误
命令:
sudo apt-get update
错误:
Err:10 http://storage.googleapis.com/bazel-apt stable InRelease
The following signatures were invalid: KEYEXPIRED 1527185977 KEYEXPIRED 1527185977 KEYEXPIRED 1527185977
Hit:12 https://download.docker.com/linux/ubuntu xenial InRelease
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://storage.googleapis.com/bazel-apt stable InRelease: The following signatures were invalid: KEYEXPIRED 1527185977 KEYEXPIRED 1527185977 KEYEXPIRED 1527185977
W: Failed to fetch http://storage.googleapis.com/bazel-apt/dists/stable/InRelease The following signatures were invalid: KEYEXPIRED 1527185977 KEYEXPIRED 1527185977 KEYEXPIRED 1527185977
我该如何解决?
【问题讨论】:
-
"KEYEXPIRED issues" : 可能得到一个新密钥docs.bazel.build/versions/master/… ...
curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add - -
它不能解决问题。 @KnudLarsen
-
好的,然后你可以禁用 repo,download.docker.com/linux/ubuntu ...如果你想要最新的 =
docker-ce_18.03.1~ce-0~ubuntu_amd64.deb,它在这里:download.docker.com/linux/ubuntu/dists/xenial/pool/stable/amd64
标签: ubuntu-16.04 bazel apt-get