伙计们,
更多的人在尝试Google K8s存储库的更新缓存时出错了?我发现了关于NO_PUBKEY的错误
Err:10 https://packages.cloud.google.com/apt kubernetes-xenial InRelease
The following signatures were invalid: EXPKEYSIG 6A030B21BA07F4FB Google Cloud Packages Automatic Signing Key <gc-team@google.com> The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B57C5C2836F4BEB和
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.cloud.google.com/apt kubernetes-xenial InRelease: The following signatures were invalid: EXPKEYSIG 6A030B21BA07F4FB Google Cloud Packages Automatic Signing Key <gc-team@google.com> The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B57C5C2836F4BEB
W: Failed to fetch http://apt.kubernetes.io/dists/kubernetes-xenial/InRelease The following signatures were invalid: EXPKEYSIG 6A030B21BA07F4FB Google Cloud Packages Automatic Signing Key <gc-team@google.com> The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B57C5C2836F4BEB
W: Some index files failed to download. They have been ignored, or old ones used instead.有什么改变了?
发布于 2021-04-05 02:51:20
在基于Debian和Ubuntu的系统上,包括本地工作站,您可能会遇到类似以下示例的错误:...以下签名无效: XXXX ...
要解决此错误,请运行以下命令,从apt-key.gpg获取最新的有效https://packages.cloud.google.com密钥文件:
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -https://devops.stackexchange.com/questions/13649
复制相似问题