Results 1 to 5 of 5

Thread: Win-KeX install problems.

  1. #1
    Join Date
    2020-Aug
    Posts
    3

    Question Win-KeX install problems.

    I am trying to install Win-Kex and I am having a heck of a hard time getting it to install.

    I have a Lenovo T520 laptop running: Windows 10 Pro version 2004 OS build 19041.450

    C:\WINDOWS\system32>wsl --list --verbose
    NAME STATE VERSION
    * kali-linux Running 2

    I have everything setup correctly with version 2 of wsl

    akore@LenovoT520:/mnt/c/WINDOWS/system32$ sudo apt update && sudo apt install -y kali-win-kex
    Err:1 http://http.kali.org/kali kali-rolling InRelease
    Temporary failure resolving 'http.kali.org'
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    All packages are up to date.
    W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease Temporary failure resolving 'http.kali.org'
    W: Some index files failed to download. They have been ignored, or old ones used instead.
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package kali-win-kex

    This seems to be where the main problem is. Anyone know how to get this to actually install?

  2. #2
    Check kali version by the command cat /etc/os-release after this if the kali version is not 2020.3 update it.And the do sudo apt upgrade && sudo apt install kali-win-kex -y

  3. #3
    Join Date
    2020-Nov
    Location
    Phoenix, AZ
    Posts
    1
    After putting in this: sudo apt upgrade && sudo apt install kali-win-kex -y

    I get this:

    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)

    I've checked and I am pretty sure I am running WSL2.

  4. #4
    Join Date
    2021-Jan
    Posts
    9
    does that error persist, it looks like dns could not resolve, which could be any number of short term problems relating to DNS resolve.

  5. #5
    It is the latest version, I just set up my WSL2 and Kali Linux 2020.4, and because xrdp is throwing errors, I'm trying to install kex and it is showing:

    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)

    please help.

Similar Threads

  1. problems with usb install,help!!
    By nathnath in forum Installing Archive
    Replies: 0
    Last Post: 2020-01-21, 22:11
  2. Problems with PXE install
    By Dark Angel in forum Installing Archive
    Replies: 1
    Last Post: 2014-09-10, 04:57
  3. display problems after usb install
    By vAMP in forum Installing Archive
    Replies: 3
    Last Post: 2014-03-16, 19:45
  4. Optimus install problems.
    By xNotta in forum TroubleShooting Archive
    Replies: 9
    Last Post: 2014-02-10, 19:44

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •