Hello,
I am trying to install kali-win-kex in WSL 2
Code:
┌──(root💀lat5400)-[~]
└─# apt install kali-win-kex
Reading package lists... Done
Building dependency tree
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.
Need to get 48.2 MB of archives.
After this operation, 107 MB of additional disk space will be used.
Get:1 http://ftp.belnet.be/pub/kali/kali kali-rolling/main amd64 kali-win-kex amd64 2.7 [48.2 MB]
Fetched 48.2 MB in 15s (3,245 kB/s)
(Reading database ... 408275 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)
┌──(root💀lat5400)-[~]
I tried to download it and install it manually, same issue
Code:
┌──(root💀lat5400)-[/tmp]
└─# wget http://http.kali.org/pool/main/k/kali-win-kex/kali-win-kex_2.7_amd64.deb
--2021-01-19 10:53:33-- http://http.kali.org/pool/main/k/kali-win-kex/kali-win-kex_2.7_amd64.deb
Resolving http.kali.org (http.kali.org)... 192.99.200.113
Connecting to http.kali.org (http.kali.org)|192.99.200.113|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://ftp.belnet.be/pub/kali/kali/pool/main/k/kali-win-kex/kali-win-kex_2.7_amd64.deb [following]
--2021-01-19 10:53:34-- http://ftp.belnet.be/pub/kali/kali/pool/main/k/kali-win-kex/kali-win-kex_2.7_amd64.deb
Resolving ftp.belnet.be (ftp.belnet.be)... 2001:6a8:3c80:2::27, 193.190.198.27
Connecting to ftp.belnet.be (ftp.belnet.be)|2001:6a8:3c80:2::27|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48187564 (46M) [text/plain]
Saving to: ?kali-win-kex_2.7_amd64.deb?
kali-win-kex_2.7_amd64. 100%[============================>] 45.96M 10.3MB/s in 5.1s
2021-01-19 10:53:39 (8.93 MB/s) - ?kali-win-kex_2.7_amd64.deb? saved [48187564/48187564]
┌──(root💀lat5400)-[/tmp]
└─# dpkg -i kali-win-kex_2.7_amd64.deb
(Reading database ... 408275 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 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:
kali-win-kex_2.7_amd64.deb
┌──(root💀lat5400)-[/tmp]
└─# dpkg -i kali-win-kex_2.6_amd64.deb
(Reading database ... 408275 files and directories currently installed.)
Preparing to unpack kali-win-kex_2.6_amd64.deb ...
This package is for WSL 2. Nothing to be done here.
dpkg: error processing archive kali-win-kex_2.6_amd64.deb (--install):
new kali-win-kex package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
kali-win-kex_2.6_amd64.deb
┌──(root💀lat5400)-[/tmp]
└─#
disk does not appear full
Code:
┌──(root💀lat5400)-[/tmp]
└─# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 475G 162G 313G 35% /
none 475G 162G 313G 35% /dev
none 475G 162G 313G 35% /run
none 475G 162G 313G 35% /run/lock
none 475G 162G 313G 35% /run/shm
none 475G 162G 313G 35% /run/user
tmpfs 475G 162G 313G 35% /sys/fs/cgroup
C:\ 475G 162G 313G 35% /mnt/c
┌──(root💀lat5400)-[/tmp]
└─#
Suggestions welcome.
Thanks,
Joost