PDA

View Full Version : Issues when installing WSL2 for Windows 11



niu64
2023-06-20, 10:01
So, when I am trying to install the Win-Kex for WSL 2 on Windows 11, this happens:

$ sudo apt upgrade && sudo apt install kali-win-kex -y


Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package kali-win-kex

I have made sure it is WSL 2 and the right version as well, and all the updates are up to date. Does anyone know how to solve this?

alex121216
2023-07-26, 05:19
This means that the package could not be found in the repositories configured on your system. This could be due to several reasons, such as the package not being available for your version of the operating system or not having added the corresponding repository. You may want to check if you have the correct repository added and if the package is available for your system