I installed Kali Linux via WSL on windows 11, once installed I did sudo apt update && sudo apt upgrade
but that’s all I get in a loop which blocks absolutely everything…
$ sudo apt update && sudo apt upgrade
Hit:1 http://http.kali.org/kali kali-rolling InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
164 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:3
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:3
W: Target Contents-deb (main/Contents-amd64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:3
W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:3
Setting up libc6:amd64 (2.38-10) ...
Checking for services that may need to be restarted...
Checking init scripts...
Nothing to restart.
I’ve tried everything the other posts say:
- Stuck with apt –fix-broken install (libc6:amd64 package post-installation)
- https://askubuntu.com/questions/1151995/how-to-fix-a-package-that-is-broken-or-not-fully-installed
But none of them solves my problem… could someone help me? Thanks