Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2795

apt-get update not working in Ubuntu 20.04 WSL1

$
0
0

So I recently installed Ubuntu WSL1 in my company PC and ran this command to update my installation, It seems ping is successful but "apt-get" fails to connect and download. I need some help here to trouble shoot this

sudo apt-get update

I'm getting the following error:

Err:2 http://security.ubuntu.com/ubuntu focal-security InRelease  Could not connect to security.ubuntu.com:80 (2001:67c:1562::18). - connect (111: Connection refused)   Reading package lists... DoneW: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease  Could not connect to archive.ubuntu.com:80 (2620:2d:4000:1::16). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2620:2d:4000:1::19). - 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 (2001:67c:1562::18). - connect (111: Connection refused)W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/focal-security/InRelease  Could not connect to security.ubuntu.com:80 (2001:67c:1562::18). - connect (111: Connection refused) W: Some index files failed to download. They have been ignored, or old ones used instead.

I tried to ping archive.ubuntu.com and it is showing me it's successful. but the apt-get update does not work ?

 ping archive.ubuntu.com
--- archive.ubuntu.com ping statistics ---13 packets transmitted, 13 received, 0% packet loss, time 12010msrtt min/avg/max/mdev = 220.761/221.066/221.704/0.251 ms

Viewing all articles
Browse latest Browse all 2795

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>