Results 1 to 8 of 8

Thread: Can't update reaver from GIT in my Kali 32bit

  1. #1
    Join Date
    2018-Oct
    Posts
    9

    Can't update reaver from GIT in my Kali 32bit

    Hi,

    I am trying to update reaver from GIT but get a error because of missing LIBPCAP:
    root@kali:~# git clone https://github.com/t6x/reaver-wps-fork-t6x
    Cloning into 'reaver-wps-fork-t6x'...
    remote: Enumerating objects: 55, done.
    remote: Counting objects: 100% (55/55), done.
    remote: Compressing objects: 100% (32/32), done.
    remote: Total 2921 (delta 26), reused 38 (delta 21), pack-reused 2866
    Receiving objects: 100% (2921/2921), 2.20 MiB | 24.00 KiB/s, done.
    Resolving deltas: 100% (1843/1843), done.
    root@kali:~# cd reaver-wps-fork-t6x*
    root@kali:~/reaver-wps-fork-t6x# cd src
    root@kali:~/reaver-wps-fork-t6x/src# ./configure
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for pcap_open_live in -lpcap... no
    error: pcap library not found!
    root@kali:~/reaver-wps-fork-t6x/src# sudo apt-get -y install build-essential libpcap-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    build-essential is already the newest version (12.3).
    build-essential set to manually installed.
    The following NEW packages will be installed:
    libpcap-dev libpcap0.8-dev
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 273 kB of archives.
    After this operation, 719 kB of additional disk space will be used.
    Err:1 http://http.kali.org/kali kali-rolling/main i386 libpcap0.8-dev i386 1.8.1-4
    404 Not Found
    Err:2 http://http.kali.org/kali kali-rolling/main i386 libpcap-dev all 1.8.1-4
    404 Not Found
    E: Failed to fetch http://http.kali.org/kali/pool/main/...8.1-4_i386.deb 404 Not Found
    E: Failed to fetch http://http.kali.org/kali/pool/main/....8.1-4_all.deb 404 Not Found
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    Where can I get the suitable LIBPCAP? Looking at http://http.kali.org/kali/pool/main/libp/libpcap gives some links to the library but they are unavailable for the reaver.

  2. #2
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Quote Originally Posted by glestwid View Post
    Hi,
    Err:1 http://http.kali.org/kali kali-rolling/main i386 libpcap0.8-dev i386 1.8.1-4
    404 Not Found
    This is an indication that your package index is out of date and has been for over a year.
    The current version of libpcap0.8-dev in the repo is 1.9.1:
    http://pkg.kali.org/pkg/libpcap

    Run
    Code:
    sudo apt update
    before installing or upgrading any packages to resynchronize the package index files.

    In your example, the correct commands would have been:

    Code:
    sudo apt update
    sudo apt -y install build-essential libpcap-dev
    Hope that helps

  3. #3
    Join Date
    2018-Oct
    Posts
    9

    Question

    Ok, tried

    sudo apt update
    Got:
    root@kali:~/reaver-wps-fork-t6x/src# sudo apt update
    Get:1 http://mirror-1.truenetwork.ru/kali kali-rolling InRelease [30.5 kB]
    Err:1 http://mirror-1.truenetwork.ru/kali kali-rolling InRelease
    The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
    Fetched 30.5 kB in 7s (3,903 B/s)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    All packages are up to date.
    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-1.truenetwork.ru/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
    W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
    W: Some index files failed to download. They have been ignored, or old ones used instead.

    What should I do now?

  4. #4
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445

  5. #5
    Join Date
    2018-Oct
    Posts
    9
    Used the command from this paragraph, got the following response:

    root@kali:~/reaver-wps-fork-t6x/src# wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add
    gpg: no valid OpenPGP data found.

  6. #6
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    You're probably better off reinstalling using the latest image but if you would like to troubleshoot your way out of this then I'd recommend to separate the above command line into it's individual components:

    Code:
    wget -q -O archive-key.asc https://archive.kali.org/archive-key.asc
    sudo apt-key add archive-key.asc
    That should help you pinpointing the source of the problem.

    I very much doubt that you'll be able to upgrade your system without major hiccups. Catching up on over two years of updates is asking for trouble. I would really start from scratch.

  7. #7
    Join Date
    2018-Oct
    Posts
    9

    Question

    Ok, I tried to get Wine for the latest Kali (2020.1) but faced with "Permission denied" responses.
    KALI - can't update.jpg

    Also, when I tried to use dpkg-reconfigure kali-grant-root per this article I got "Command not found" instead of granted root access. How can I do priviledged operations with this new version?

  8. #8
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Quote Originally Posted by glestwid View Post
    Ok, I tried to get Wine for the latest Kali (2020.1) but faced with "Permission denied" responses.
    Use "sudo"

    Quote Originally Posted by glestwid View Post
    Also, when I tried to use dpkg-reconfigure kali-grant-root per this article I got "Command not found" instead of granted root access. How can I do priviledged operations with this new version?
    Did you install "kali-grant-root" before running
    Code:
    dpkg-reconfigure kali-grant-root
    like the article said?

Similar Threads

  1. Reaver - aircrack update - Hows it working out for you?
    By frafri in forum General Archive
    Replies: 2
    Last Post: 2015-05-17, 01:13

Posting Permissions

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