gpt4 book ai didi

ubuntu-16.04 - sudo apt-get 更新 Ubuntu 16.04 时出现 Bazel key 过期错误

转载 作者:行者123 更新时间:2023-12-03 14:34:52 26 4
gpt4 key购买 nike

当我这样做时,我收到以下错误

命令:

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 -
# Followed by
$ sudo apt-get update

(来自 https://github.com/bazelbuild/bazel/issues/5261#issuecomment-392044252)

关于ubuntu-16.04 - sudo apt-get 更新 Ubuntu 16.04 时出现 Bazel key 过期错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50563189/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com