WSL icon indicating copy to clipboard operation
WSL copied to clipboard

WSL ubuntu 18.04 cant get update

Open hugochavezzz opened this issue 6 years ago • 6 comments

hugochavezzz avatar May 10 '20 09:05 hugochavezzz

I use Windows 10 Pro 1803 Build n 17134.1069 Enabled developer mode Enabled WSL mode Installed Ubuntu 18.04 First time start failed with cannot specific file location.... Googled and copy all content from windowsapp/....ubuntu18.04 to created new folder C: ubuntu18.04 Then run ubuntu.exe installd succesfully I want to install ansible, to do so i want to get updates I tgives error like: Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease Could not connect to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1562::18). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.142). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.152). - connect (111: Connection refused)

hugochavezzz avatar May 10 '20 09:05 hugochavezzz

I cant connect to archive.ubuntu.com with my browser also, so I use shadowsocksR. With shadowsocks i can connect to archive.ubuntu.com. But WSL still cant get update with shadowsocks

hugochavezzz avatar May 10 '20 09:05 hugochavezzz

I cant connect to archive.ubuntu because government is blocking some websites

hugochavezzz avatar May 10 '20 10:05 hugochavezzz

same issue for me also.

dhikrahashim avatar May 11 '20 07:05 dhikrahashim

Same as here: https://github.com/microsoft/WSL/issues/5198

Make sure nothing is blocking repos on your host machine.

DimDroll avatar May 11 '20 08:05 DimDroll

Marking as duplicate of #5198

bpulliam avatar May 07 '21 12:05 bpulliam