-
Notifications
You must be signed in to change notification settings - Fork 853
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
Can't apt-get update Kali Linux in WSL #7491
Comments
i have the same issue :( |
Found that the issue is due to the WSL image referring to loopback to get DNS routed via the host machine and something like Next Gen-AV is getting in the way of allowing the DNS resolution (so much for next gen-av being "smart".) How I fixed it was to point to a different DNS and you can do it by doing the following:
|
Had the same issue. Was trying out following things: https://kalitut.com/how-to-update-kali-linux-and-fix-update/ (Those could solve the issue) |
even i tried but no use the app is telling error like this ┌──(pnvs㉿LAPTOP-0TJ1JHA7)-[~] ┌──(pnvs㉿LAPTOP-0TJ1JHA7)-[~] |
/dupe #8365 |
Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
By changing repo form,
to ,
( secure HTTPS) |
Windows Build Number
Version 10.0.19042.1237
WSL Version
Kernel Version
5.10.16
Distro Version
Linux DESKTOP-5UAV41V 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 GNU/Linux
Other Software
No response
Repro Steps
I can't install anything in kali, but ubuntu works. Please help me!
Expected Behavior
Actual Behavior
sudo apt-get update
[sudo] password for gasay:
Ign:1 http://http.kali.org/kali kali-rolling InRelease
Ign:2 http://http.kali.org/kali kali-experimental InRelease
Ign:1 http://http.kali.org/kali kali-rolling InRelease
Ign:2 http://http.kali.org/kali kali-experimental InRelease
Ign:1 http://http.kali.org/kali kali-rolling InRelease
Ign:2 http://http.kali.org/kali kali-experimental InRelease
Err:1 http://http.kali.org/kali kali-rolling InRelease
Temporary failure resolving 'http.kali.org'
Err:2 http://http.kali.org/kali kali-experimental InRelease
Temporary failure resolving 'http.kali.org'
Reading package lists... Done
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease Temporary failure resolving 'http.kali.org'
W: Failed to fetch http://http.kali.org/kali/dists/kali-experimental/InRelease Temporary failure resolving 'http.kali.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: