[求助] win10 的 Ubuntu18.04 子系统中执行 apt update 报错 Temporary failure resolving

2018-07-15 11:47:54 +08:00
 Pan940425

源试了试 aliyun 的和 163 的,在执行 apt update 时都报错

Err:1 http://mirrors.163.com/ubuntu bionic InRelease
  Temporary failure resolving 'mirrors.163.com'
Err:2 http://mirrors.aliyun.com/ubuntu bionic InRelease
  Temporary failure resolving 'mirrors.aliyun.com'

检查了一下,dns 是没有问题的,直接 pingmirrors.aliyun.commirrors.163.com是可以 ping 通的

我的 sources.list 文件中的内容

deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse
9235 次点击
所在节点    Windows
4 条回复
imn1
2018-07-15 13:00:43 +08:00
在 win10 ping 还是 WSL 里面 ping ?
Pan940425
2018-07-15 13:16:27 +08:00
@imn1 都可以 ping 通的
mmdsun
2018-07-16 21:14:03 +08:00
我今天上午更新的。挂的 ss
Pan940425
2018-07-16 21:23:01 +08:00
@mmdsun 最后发现 我换了 16.04 就能更新得动了。。。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/471017

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX