![it.clouds.archive.ubuntu.com 取代了 it.archive.ubuntu.com?](https://linux22.com/image/947829/it.clouds.archive.ubuntu.com%20%E5%8F%96%E4%BB%A3%E4%BA%86%20it.archive.ubuntu.com%EF%BC%9F.png)
几天以来,我的所有 Ubuntu Server VPS 都出现了此错误:
# apt update
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Err:2 http://it.archive.ubuntu.com/ubuntu bionic InRelease
Cannot initiate the connection to it.archive.ubuntu.com:80 (2001:760:ffff:b6:4:100:0:70). - connect (101: Network is unreachable) Cannot initiate the connection to it.archive.ubuntu.com:80 (2001:760:ffff:b6:4:100:0:73). - connect (101: Network is unreachable) Cannot initiate the connection to it.archive.ubuntu.com:80 (2001:760:ffff:b6:4:100:0:72). - connect (101: Network is unreachable) Could not connect to it.archive.ubuntu.com:80 (90.147.160.72), connection timed out Could not connect to it.archive.ubuntu.com:80 (90.147.160.73), connection timed out Could not connect to it.archive.ubuntu.com:80 (90.147.160.70), connection timed out
Err:3 http://it.archive.ubuntu.com/ubuntu bionic-updates InRelease
Cannot initiate the connection to it.archive.ubuntu.com:80 (2001:760:ffff:b6:4:100:0:70). - connect (101: Network is unreachable) Cannot initiate the connection to it.archive.ubuntu.com:80 (2001:760:ffff:b6:4:100:0:73). - connect (101: Network is unreachable) Cannot initiate the connection to it.archive.ubuntu.com:80 (2001:760:ffff:b6:4:100:0:72). - connect (101: Network is unreachable)
Err:4 http://it.archive.ubuntu.com/ubuntu bionic-backports InRelease
Cannot initiate the connection to it.archive.ubuntu.com:80 (2001:760:ffff:b6:4:100:0:70). - connect (101: Network is unreachable) Cannot initiate the connection to it.archive.ubuntu.com:80 (2001:760:ffff:b6:4:100:0:73). - connect (101: Network is unreachable) Cannot initiate the connection to it.archive.ubuntu.com:80 (2001:760:ffff:b6:4:100:0:72). - connect (101: Network is unreachable)
我解决了:
sed -i 's/http:\/\/it./http:\/\/it.clouds./g' /etc/apt/sources.list
有人知道为什么it.clouds.archive.ubuntu.com
要替换吗it.archive.ubuntu.com
?其他国家代码是否不同it
?
答案1
我不知道最初it.archive.ubuntu.com
是从哪里来的。
建议的意大利存储库镜像是:
giano.com.dist.unige.it
ubuntu.conessi.it
ubuntu.mirror.garr.it
您可以使用任何国家/地区的任何您喜欢的镜像。