apt-get update 卡在 0%,无法与 ipv4 配合使用

apt-get update 卡在 0%,无法与 ipv4 配合使用

当我更新时它卡住了

sudo apt-get update

Ign:1 cdrom://Ubuntu 16.04.4 LTS _Xenial Xerus_ - Release amd64 (20180228) xenial InRelease
Hit:2 cdrom://Ubuntu 16.04.4 LTS _Xenial Xerus_ - Release amd64 (20180228) xenial Release
0% [Connecting to de.archive.ubuntu.com (141.30.62.24)] [Connecting to archive.canonica

进而:

host de.archive.ubuntu.com

de.archive.ubuntu.com is an alias for ubuntu.mirror.tudos.de.
ubuntu.mirror.tudos.de has address 141.30.62.21
ubuntu.mirror.tudos.de has address 141.30.62.22
ubuntu.mirror.tudos.de has address 141.30.62.23
ubuntu.mirror.tudos.de has address 141.30.62.24

我无法 ping de.archive.ubuntu.com:

ping de.archive.ubuntu.com

PING ubuntu.mirror.tudos.de (141.30.62.26) 56(84) bytes of data.

--- ubuntu.mirror.tudos.de ping statistics ---
9 packets transmitted, 0 received, 100% packet loss, time 8090ms

但我可以用浏览器访问网站。如何使用 apt-get update ?

答案1

尝试在 ipv4 dns 设置中添加地址:8.8.4.4,8.8.8.8 但这些 repos 似乎已暂时关闭

相关内容