-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sudo apt-get update fails #3669
Comments
Are you using a third-party antivirus, firewall, proxy, or VPN by chance? See #3647. |
I am using kasperskey, I will try killing it fully rather than just disabling it, when I'm back at my pc, thanks I hadn't seen that issue when searching for the problem |
|
I can confirm that this also is on Windows 10 build 1809, this is a issue on Kaspersky's side. There are more people having the same issue: |
Thanks, what has been said here is correct for me, it would be great if kasperskey could fix the issue. |
Closing Kasperkey fixed it for me as well. |
Symantec Endpoint Protection also causes this problem. Temporarily disabling Symantec seems to allow apt-get in WSL Ubuntu to function properly. |
FWIW, I had these problems but it turns out my corporate proxy doesn't support https. The fix was to edit the "/etc/apt/apt.conf" file. See Windows 10 WSL Ubuntu 18.04 proxy configuration for apt blog article |
AVAST Also causes this problem. Temporarilly disabling AVAST allows apt-get to work |
Got the same issue while doing |
@hritik5102 your error is diferent - claims you don't have the correct permissions Are you using the command Also try going to |
Hello @537mfb, I'm using Tried this
No packet transmitted and not received |
@hritik5102 if that address doesn't open in your browser (Windows) you have something else blocking your access to the internet Can be some antivirus, VPN, Proxy or something else - I don't know what you have on your PC/network to be able to tell Are there any other PCs/devices on your network? like a smartphone or tablet? if so, try to access that address on their browsers - if other devices can reach it than the problem is in your PC - otherwise the problem is in your network On my PC i get
|
Oh god, it worked, I just turned off "windows defender" from and then I restarted my laptop, the real time protection turned on automatically. Thanks a lot @537mfb for helping me out :) |
Glad i could help @hritik5102 - not sure why defender would block complete access to Ubuntu arquive even um browser and ping but am glad it is solved Btw my Avast no longer blocks it so a future update of defender may fix this |
I am also seeing the same issues with windows defender. It seems that something about it is blocking apt completely from getting the repositories. On build 19042. Seems to work fine if I add an exclusion to defender on the process for WSL. |
FWIW, and this may have been said, but a simple |
|
Disabling the antivirus worked for me! |
After changing the DNS server, It's working fine for me. |
Can confirm on avast one |
Windows version:
Microsoft Windows [Version 10.0.17134.345]
What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)
What's wrong / what should be happening instead:
wsl cannot connect to the server, but it can connect to the internet. Trying to run wsl as administrator did not change the issue, neither did turning off my firewall.
Strace of the failing command:
https://gist.github.com/ScratchOs/1308fdb39a9e57b7b5440f3ee5f844be
The text was updated successfully, but these errors were encountered: