我是靠谱客的博主 危机吐司,最近开发中收集的这篇文章主要介绍W: GPG error: ...the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

在debian10上执行命令:sudo apt-get update 更新清华源时,报错如下:


Cannot initiate the connection to mirrors.tuna.tsinghua.edu.cn:443 (2402:f000:1:408:8100::1). - connect (101: Network is unreachable) [IP: 101.6.8.193 443]
Ign:14 https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates/non-free Sources
Ign:15 https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates/main Sources
Ign:16 https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates/main arm64 Packages
Ign:19 https://mirrors.tuna.tsinghua.edu.cn/debian buster-updates/main Sources
Ign:20 https://mirrors.tuna.tsinghua.edu.cn/debian buster-updates/main arm64 Packages
Reading package lists... Done
W: GPG error: https://download.docker.com/linux/debian buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8
E: The repository 'https://download.docker.com/linux/debian buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

通过下面命令可解决:apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7EA0A9C3F273FCD8

最后

以上就是危机吐司为你收集整理的W: GPG error: ...the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8的全部内容,希望文章能够帮你解决W: GPG error: ...the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(49)

评论列表共有 0 条评论

立即
投稿
返回
顶部