You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As with many other people I'm completely unable to run any network functions; neither cURL, ping or any package updates (sudo apt-get update).
I've tried many of the suggested changes in other threads (running bash with elevated priviligies, adding nameserver 8.8.8.8 in /etc/resolv.conf etc), but nothing seems to work.
I should mention that I'm running BullGuard AV, but I've attempted to turn off both the Windows Firewall and BullGuards bundled Firewall. Again, doesn't work.
Expected results
Clearly I want bash to work as intended, where I can curl servers etc.
Actual results (with terminal output if applicable):
sudo apt-get update gives me
Err http://archive.ubuntu.com trusty InRelease
Err http://security.ubuntu.com trusty-security InRelease
Err http://archive.ubuntu.com trusty-updates InRelease
Err http://archive.ubuntu.com trusty-backports InRelease
Err http://security.ubuntu.com trusty-security Release.gpg
Could not resolve 'security.ubuntu.com'
Err http://archive.ubuntu.com trusty Release.gpg
Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-updates Release.gpg
Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-backports Release.gpg
Could not resolve 'archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Could not resolve 'security.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg Could not resolve 'archive.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
And ping www.google.com gives me: ping: unknown host www.google.com
Finally ping 8.8.8.8 gives me: Do you want to ping broadcast? Then -b
Your Windows build number
Steps / All commands required to reproduce the error from a brand new installation
In my case, absolutely nothing. I've removed and installed the Bash service twice with no changes.
Hi @Todai88 -- as you mention, a number of people have experienced this issue; it has actually turned out to have many different unrelated causes, and often (though not always) with a root cause of a misconfigured network or buggy third-party Windows security application. So it may be worth your time to dig through more of the existing resolved tickets to see if their resolutions help you. (It would be great if WSL provided a debugging wizard or something to help catch the common cases; alas, this doesn't exist to my knowledge.)
One thing immediately jumps out at me: Has anyone verified that BullGuard AV works with WSL? I'm not familiar with it. I know you've turned it off. But a lot of early WSL users had problems where their antivirus or firewall software blocked WSL even when it was turned off. The only fix was to uninstall, or to upgrade to a fixed version of the security software once one was released.
As with many other people I'm completely unable to run any network functions; neither cURL, ping or any package updates (sudo apt-get update).
I've tried many of the suggested changes in other threads (running bash with elevated priviligies, adding nameserver 8.8.8.8 in /etc/resolv.conf etc), but nothing seems to work.
I should mention that I'm running BullGuard AV, but I've attempted to turn off both the Windows Firewall and BullGuards bundled Firewall. Again, doesn't work.
Clearly I want bash to work as intended, where I can curl servers etc.
sudo apt-get update
gives meAnd
ping www.google.com
gives me:ping: unknown host www.google.com
Finally
ping 8.8.8.8
gives me:Do you want to ping broadcast? Then -b
In my case, absolutely nothing. I've removed and installed the Bash service twice with no changes.
See our contributing instructions for assistance.
The text was updated successfully, but these errors were encountered: