我在跑步Ubuntu 18.04当我尝试“sudo apt-get update”时Windows Subsystem for Linux
,出现以下错误:
myuser@GA014291L:/mnt/c/Users/myuser$ sudo apt-get update
Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Could not connect to localhost:9000 (127.0.0.1). - connect (111: Connection refused)
Err:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Could not connect to localhost:9000 (127.0.0.1). - connect (111: Connection refused)
Err:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Unable to connect to localhost:9000:
Err:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Unable to connect to localhost:9000:
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not connect to localhost:9000 (127.0.0.1). - connect (111: Connection refused)
我可以成功 ping 通我的本地 Windows 操作系统以及 google.com。
有什么想法吗?如何解决这个问题?