Results 1 to 8 of 8

Thread: Kali on Windows 10 subsystem for linux

  1. #1
    Junior Member
    Join Date
    Jan 2018
    Posts
    1

    Kali on Windows 10 subsystem for linux

    I am able to install everything following the steps from the Kali website. https://www.kali.org/tutorials/kali-...tem-for-linux/
    The first 2 portions are my pc specs. Once I try to update i get the errors below. I added screenshots as well. I am not sure which version the subsystem downloads, but the issue is with the update or trying to install any software. I get the same error.


    Hardware:

    Intel Core i7-6700K 8m Skylake Quad-Core 4.0 GHz
    MSI Z170A Gaming M7 LGA 1151 Intel Z170 HDMI Sata 6gb usb 301 atx intel motherboard
    WD Black 6TB Performance Desktop Hard Disk Drive
    Corsair Hydro Series H100i GTX water/liquid cpu cooler
    Corsair Axi series Ax1200i 1200w
    Samsung 950 ori m.2 512 gb pci-express 3.0 sd
    G.Skill Ripjaws V Series 32GB ddr4 2133

    OS:

    Windows 10 pro
    Eset AV


    Error:

    PS C:\WSL-Distribution-Switcher-master> bash
    root@UIW-Ragnar:/mnt/c/WSL-Distribution-Switcher-master# export Lang=C
    root@UIW-Ragnar:/mnt/c/WSL-Distribution-Switcher-master# apt-get update

    Err:1 http://http.kali.org/kali kali-rolling InRelease
    Temporary failure resolving 'http.kali.org'
    Reading package lists... Done
    W: http: aptMethod::Configuration: could not load seccomp policy: Invalid argument
    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.
    root@UIW-Ragnar:/mnt/c/WSL-Distribution-Switcher-master#

  2. #2
    Junior Member
    Join Date
    Feb 2018
    Posts
    1
    I'm having the same issue

    W: http: aptMethod::Configuration: could not load seccomp policy: Invalid argument

    For the error "Temporary failure resolving 'http.kali.org'" you need to modify your resolv.conf to point to a public DNS server such as 8.8.8.8.

    echo nameserver 8.8.8.8 > /etc/resolv.conf

  3. #3
    Junior Member
    Join Date
    Feb 2018
    Posts
    3
    I'm facing a similar problem. I just installed Kali WSL and I'm unable to update/upgrade it due an error with an expired key.
    I tried to update the key, but I can't because the GNUPG isn't installed, then I tried to install GNUPG, but it broke the system (I had to reinstall it).
    Do anybody know how to bypass this issue?

    root@host:/# cat /etc/issue
    Kali GNU/Linux Rolling \n \l
    root@host:/# apt-get update
    Get:1 http://mirror.pwnieexpress.com/kali kali-rolling InRelease [30.5 kB]
    Err:1 http://mirror.pwnieexpress.com/kali kali-rolling InRelease
    The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
    Fetched 30.5 kB in 5s (6490 B/s)
    Reading package lists... Done
    W: http: aptMethod::Configuration: could not load seccomp policy: Invalid argument
    W: http: aptMethod::Configuration: could not load seccomp policy: Invalid argument
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirror.pwnieexpress.com/kali kali-rolling InRelease: The following signatures
    were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
    W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
    W: Some index files failed to download. They have been ignored, or old ones used instead.
    root@host:/# apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
    E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

    and then, if I execute the following, my system get broken:

    root@host:/# apt-get install gnupg

    Any ideas?

  4. #4
    Member
    Join Date
    Dec 2016
    Posts
    94
    Quote Originally Posted by SysF41L3r View Post
    I'm facing a similar problem. I just installed Kali WSL and I'm unable to update/upgrade it due an error with an expired key.
    I tried to update the key, but I can't because the GNUPG isn't installed, then I tried to install GNUPG, but it broke the system (I had to reinstall it).
    Do anybody know how to bypass this issue?

    root@host:/# cat /etc/issue
    Kali GNU/Linux Rolling \n \l
    root@host:/# apt-get update
    Get:1 http://mirror.pwnieexpress.com/kali kali-rolling InRelease [30.5 kB]
    Err:1 http://mirror.pwnieexpress.com/kali kali-rolling InRelease
    The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
    Fetched 30.5 kB in 5s (6490 B/s)
    Reading package lists... Done
    W: http: aptMethod::Configuration: could not load seccomp policy: Invalid argument
    W: http: aptMethod::Configuration: could not load seccomp policy: Invalid argument
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirror.pwnieexpress.com/kali kali-rolling InRelease: The following signatures
    were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
    W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
    W: Some index files failed to download. They have been ignored, or old ones used instead.
    root@host:/# apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
    E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

    and then, if I execute the following, my system get broken:

    root@host:/# apt-get install gnupg

    Any ideas?
    See --- https://forums.kali.org/showthread.p...or-key-expired --- this is solved!!!

  5. #5
    Junior Member
    Join Date
    Feb 2018
    Posts
    3
    Hello Bigbiz! Thanks for you reply!

    Actually I had already tried that... But it gave me the following output:

    root@host:/# apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
    E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

    So then I tried to install gnupg, but it generates a lot of errors (due dependencies problems) and broke my WLS and I need reinstall it (three times ).
    Do you know if is there other way to install gnupg for Kali WLS? I mean, I know there is, but I don't know how.

  6. #6
    Member
    Join Date
    Dec 2016
    Posts
    94
    What does your /etc/apt/sources.list look like? Echo

  7. #7
    Junior Member
    Join Date
    Feb 2018
    Posts
    3
    Looks like that:

    root@host:/# cat /etc/apt/sources.list
    deb http://http.kali.org/kali kali-rolling main

  8. #8
    Member
    Join Date
    Dec 2016
    Posts
    94
    Quote Originally Posted by SysF41L3r View Post
    Looks like that:

    root@host:/# cat /etc/apt/sources.list
    deb http://http.kali.org/kali kali-rolling main
    apt-key adv --keyserver pgp.mit.edu --recv.keys (key#) this command is posted. Worked for me.

Posting Permissions

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