随笔 - 49,  文章 - 4,  评论 - 11,  阅读 - 19万

提示如下

 

 

 

复制代码
获取:1 https://mirrors.aliyun.com kubernetes-xenial InRelease
忽略 https://mirrors.aliyun.com kubernetes-xenial InRelease
获取:2 https://mirrors.aliyun.com kubernetes-xenial/main amd64 Packages/DiffIndex
忽略 https://mirrors.aliyun.com kubernetes-xenial/main amd64 Packages/DiffIndex
忽略 https://mirrors.aliyun.com kubernetes-xenial/main i386 Packages/DiffIndex
命中 https://mirrors.aliyun.com kubernetes-xenial/main amd64 Packages
命中 https://mirrors.aliyun.com kubernetes-xenial/main i386 Packages
获取:3 https://mirrors.aliyun.com kubernetes-xenial/main Translation-zh_CN
忽略 https://mirrors.aliyun.com kubernetes-xenial/main Translation-zh_CN
忽略 https://mirrors.aliyun.com kubernetes-xenial/main Translation-zh
忽略 https://mirrors.aliyun.com kubernetes-xenial/main Translation-en
下载 8,993 B,耗时 1秒 (4,644 B/s)
正在读取软件包列表... 完成
W: GPG 错误:https://mirrors.aliyun.com kubernetes-xenial InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 6A030B21BA07F4FB
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
apt-transport-https 已经是最新的版本。
curl 已经是最新的版本。
software-properties-common 已经是最新的版本。
ca-certificates 已经是最新的版本。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
获取:1 https://mirrors.aliyun.com kubernetes-xenial InRelease
忽略 https://mirrors.aliyun.com kubernetes-xenial InRelease
获取:2 https://mirrors.aliyun.com kubernetes-xenial/main amd64 Packages/DiffIndex
忽略 https://mirrors.aliyun.com kubernetes-xenial/main amd64 Packages/DiffIndex
忽略 https://mirrors.aliyun.com kubernetes-xenial/main i386 Packages/DiffIndex
命中 https://mirrors.aliyun.com kubernetes-xenial/main amd64 Packages
命中 https://mirrors.aliyun.com kubernetes-xenial/main i386 Packages
获取:3 https://mirrors.aliyun.com kubernetes-xenial/main Translation-zh_CN
忽略 https://mirrors.aliyun.com kubernetes-xenial/main Translation-zh_CN
忽略 https://mirrors.aliyun.com kubernetes-xenial/main Translation-zh
忽略 https://mirrors.aliyun.com kubernetes-xenial/main Translation-en
下载 8,993 B,耗时 3秒 (2,523 B/s)
正在读取软件包列表... 完成
W: GPG 错误:https://mirrors.aliyun.com kubernetes-xenial InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 6A030B21BA07F4FB
点击展开
复制代码

解决方法如下:

 

 可以看到,这两个值是一样的,解决的关键就是这个值,只需要执行下面的语句即可,最后一段改成你自己的值

1
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys  ${你的值}

  所以我的就是

 

 然后尝试一下安装/更新软件

 

 这时候已经没有错误提示了,问题解决

posted on   坐公交也用券  阅读(3925)  评论(0编辑  收藏  举报
努力加载评论中...
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

// 这里是系统默认参数 // 开始添加背景音乐
点击右上角即可分享
微信分享提示