首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >谷歌K8s镜像离线?

谷歌K8s镜像离线?
EN

DevOps用户
提问于 2021-04-01 13:13:22
回答 1查看 603关注 0票数 0

伙计们,

更多的人在尝试Google K8s存储库的更新缓存时出错了?我发现了关于NO_PUBKEY的错误

代码语言:javascript
复制
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

代码语言:javascript
复制
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.

有什么改变了?

EN

回答 1

DevOps用户

回答已采纳

发布于 2021-04-05 02:51:20

根据计算/文档/故障排除/已知问题

在基于Debian和Ubuntu的系统上,包括本地工作站,您可能会遇到类似以下示例的错误:...以下签名无效: XXXX ...

要解决此错误,请运行以下命令,从apt-key.gpg获取最新的有效https://packages.cloud.google.com密钥文件:

代码语言:javascript
复制
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
票数 1
EN
页面原文内容由DevOps提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://devops.stackexchange.com/questions/13649

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档