Hello everyone I installed fresh Windows 11 and enabled Windows Subsystem for Linux and Virtual Machines and switched to WSL2, and installed Kali Linux from the Microsoft Store.
When I tried to update the repo, It was stuck a 0%
So I changed the http to https in sources.list As it was widely suggested fix.
However even doing so did not change anything what could be the Root cause of this behaviour?
UPDATED:
I tried Going to visiting following URLS in the browser
> http://http.kali.org/kali/
> https://http.kali.org/kali/
Both Opened Successfully!
Then Tried the following command
apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
Which threw an error Message:
gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
so I Installed it manually as I couldn't install from apt directly from terminal,
After installing the gnupg2 it threw the same error:
gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
Then I tried adding the following repos to sources.list
deb http://http.kali.org/ /kali main contrib non-free
deb http://http.kali.org/ /wheezy main contrib non-free
deb http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali main contrib non-free
deb http://http.kali.org/kali kali main/debian-installer
deb-src http://http.kali.org/kali kali main contrib non-free
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
But neither of them succeeded
Same thing happened with him as well. I just asked him to see if its working on his machine now,
It's working just fine so it's my router issue??? Or should I contact my ISP?
– Gaming World Dec 11 '21 at 01:10wsl --install -d kali-linux, but it's different. – NotTheDr01ds Dec 11 '21 at 01:21IP.IP.0.1toIP.IP.1.1So I switched it back toIP.IP.0.1just to confirm it but it still did the same – Gaming World Dec 11 '21 at 01:24http://http.kali.org/kali/andhttps://http.kali.org/kali/Both displayed with no Issueand Solution 2
– Gaming World Dec 11 '21 at 01:34apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6Threw Error:gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operationAs You know I can't install any due to not being able to connect, Lastly I tried adding all mentioned repos in the list none of them accomplished!apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6It threw the exact same error again :| – Gaming World Dec 11 '21 at 02:01