当我执行以下命令时,出现以下错误:
命令:
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
我该如何解决这个问题?
curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
- Knud Larsendocker-ce_18.03.1~ce-0~ubuntu_amd64.deb
,请前往此处:https://download.docker.com/linux/ubuntu/dists/xenial/pool/stable/amd64/ - Knud Larsen