从Windows应用商店安装Ubuntu 18.04之后,我打开Bash并想运行sudo apt-get update
,但这会返回以下错误:
Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Connection failed [IP: 91.189.91.26 80]
Err:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Connection failed [IP: 91.189.88.162 80]
Err:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Connection failed [IP: 91.189.88.161 80]
Err:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Connection failed [IP: 91.189.88.162 80]
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Connection failed [IP: 91.189.88.162 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Connection failed [IP: 91.189.88.161 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Connection failed [IP: 91.189.88.162 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Connection failed [IP: 91.189.91.26 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
当我91.189.91.26
在浏览器中打开时,它显示该站点没有问题。
以前,此方法可以正常工作,但是我重新安装了Windows,现在它不再起作用。似乎有防火墙或代理问题,但是我尝试禁用防火墙,但得到了相同的结果。
知道为什么会这样吗?也许是18.04期?如果是这样,是否可以在Windows 10上返回16.04?因为我看不到卸载选项。
面对同样的问题。在16.04上也不起作用。
—
NaN
看到这个有用的链接:answers.launchpad.net/ubuntu/+question/673653 ubuntubuzz.com/2018/03/...然后再次尝试升级。sudo apt-get update deb mirror.cse.iitk.ac.in/ubuntu仿生主deb-src mirror.cse.iitk.ac.in/ubuntu仿生主
—
Amit Chaurasia