本文共 1209 字,大约阅读时间需要 4 分钟。
在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 SourcesIgn:15 https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates/main SourcesIgn:16 https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates/main arm64 PackagesIgn:19 https://mirrors.tuna.tsinghua.edu.cn/debian buster-updates/main SourcesIgn:20 https://mirrors.tuna.tsinghua.edu.cn/debian buster-updates/main arm64 PackagesReading package lists... DoneW: 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 7EA0A9C3F273FCD8E: 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
转载地址:http://uqrii.baihongyu.com/