Kali-Win-Kex를 다음과 같이 설치해 보았습니다.공식 가이드.
$ sudo apt install kali-win-kex -y
dpkg: error processing archive /var/cache/apt/archives/kali-win-kex_2.7_amd64.deb (--unpack):
new kali-win-kex package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/kali-win-kex_2.7_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
문제를 해결하려고 시도하면 apt install -f
패키지 상태가 에서 로 변경 half-installed
됩니다 uninstalled
.
패키지를 직접 설치하려고 하면 다음 오류가 발생합니다.
$ sudo dpkg -i /var/cache/apt/archives/kali-win-kex_2.7_amd64.deb
(Reading database ... 102450 files and directories currently installed.)
Preparing to unpack .../kali-win-kex_2.7_amd64.deb ...
This package is for WSL 2. Nothing to be done here.
dpkg: error processing archive /var/cache/apt/archives/kali-win-kex_2.7_amd64.deb (--install):
new kali-win-kex package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/kali-win-kex_2.7_amd64.deb
어떻게 설치하나요 kali-win-kex
?
Windows version: 19042.746
Kali version: 2020.4 (kali-rolling)
답변1
현재 WSL 2를 실행하고 있지 않습니다. WSL을 WSL 2로 업그레이드하면 작동합니다.