在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
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)