Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   Общий по Linux (http://forum.oszone.net/forumdisplay.php?f=9)
-   -   WSL Kali Linux - не устанавливается Win kex (http://forum.oszone.net/showthread.php?t=348158)

tumanovalex 07-03-2021 07:06 2951942

WSL Kali Linux - не устанавливается Win kex
 
Может быть этот вопрос нужно задавать не в этой ветке, но отдельной ветки по WSL я не нашел. Решил попробовать на Windows 10 установить Kali Linux WSL по статье https://g-ek.com/linux-s-grafichesko...ya-v-windows10. Сделал все как в этой статье, но при запуске kex получаю сообщение
Код:

sudo apt update && sudo apt install -y kali-win-kex
Hit:1 http://mirror-1.truenetwork.ru/kali kali-rolling InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  kali-win-kex
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
621 not fully installed or removed.
Need to get 0 B/48.2 MB of archives.
After this operation, 107 MB of additional disk space will be used.
(Reading database ... 102473 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 (--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)

Подскажите, пожалуйста, как исправить ошибку.

Vadikan 07-03-2021 11:01 2951960

Не вижу связи с WSL, процесс происходит в Linux. Переношу.

zai 08-03-2021 21:26 2952082

Обнови Windows 10 до последней версии
В PowerShell dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Перезагрузи комп

tumanovalex 09-03-2021 12:43 2952107

Спасибо, помогло.


Время: 17:44.

Время: 17:44.
© OSzone.net 2001-