I want to use Kali Linux on my Windows 11 machine through wsl. After installing kali on my wsl, I did sudo apt update -y
which worked fine, then sudo apt upgrade -y
which is now stuck at 2% progress for over 20 min. This operation shouldn't take that long.
Performed sudo apt update -y
and this worked fine, then sudo apt upgrade -y
, which is not completing. The progress bar is stuck at 2% for over 20 minutes now. I can't terminate the process with "ctrl + c". If I try to open another kali terminal window and run the sudo apt upgrade
command, then I get the "Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 126 (apt)..." error.
Apparently the first upgrade command is still running, but it isn't finishing. What could be the reason behind this and what could I try to solve it?
Thank you!