I've been trying to update my linux subsystem in Windows and it just keeps crashing due to connection failure. I can ping the servers and even open them from my browser so I assume neither the connectivity nor a potential block on port 80 is leading to this. I did this from multiple networks too so it definitely cannot be the firewall. At this point I am assuming that it is the antivirus but I want to avoid deactivating it just for this install. It is not necessarily because I think it is unsafe but mainly because I am sure the admin will get to know somehow and I really want to avoid having explanations. Any good suggestion?
I tried this not just with the local servers btw. The main servers also lead to the same issue so changing the address does not seem be of a lot of help in this situation.
Ign:1 http://us.security.ubuntu.com/ubuntu jammy-security InRelease
Ign:2 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:4 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Err:1 http://us.security.ubuntu.com/ubuntu jammy-security InRelease
Could not resolve 'us.security.ubuntu.com'
Err:2 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Connection failed [IP: 91.189.91.38 80]
Err:3 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Connection failed [IP: 91.189.91.39 80]
Err:4 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Connection failed [IP: 91.189.91.38 80]
us.security.ubuntu.com
which is wrong - that should be onlysecurity.ubuntu.com
. (2) Your internet is being blocked somehow or something is denying you connecting to the main repositories on your Internet network - potentially your antivirus or something else. You'll have to simply turn off your Antivirus to start with to see if that fixes the problem. As for your firewall, the firewall can block connections outboudn if the host is Windows, despite 'the network' you're on - make sure your system permits VirtualBox or such out the door. – Thomas Ward Jun 27 '22 at 01:03