Results 1 to 2 of 2

Thread: Kali Pi /lib/modules/(uname -r)/build no such file or directory

  1. #1
    Join Date
    2017-Jan
    Posts
    2

    Kali Pi /lib/modules/(uname -r)/build no such file or directory

    I am trying to install a device driver for a wifi dongle on a raspberry pi 3

    I want to compile it but i am not able to since the make command says there is no build folder (i indeed cannot access that folder)

    I have tried installing the kernel files (or whatever this is called i dont know much about linux, just getting started) with:

    Code:
    apt-get install linux-headers-(uname -r)
    I also tried:

    Code:
    apt-get install linux-generic
    both commands either dont find a package or say the package is dependent or obsolete

    I hope this enough information if i missed anything just ask I will provide it

    Any help is apprechiated

    thanks
    roedel

  2. #2
    Join Date
    2017-Mar
    Posts
    1

    Same problem on Asus chromebook

    Same thing on Asus chromebook (veyron image). upgrade and dist-upgrade don't solve the problem. cleaning apt cache don't help either, I am running out of ideas and had no luck on google :-(

    what kali says exactly:
    root@kali:~# apt-get install linux-headers-$(uname -r)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-headers-3.14.0
    E: Couldn't find any package by glob 'linux-headers-3.14.0'
    E: Couldn't find any package by regex 'linux-headers-3.14.0'
    root@kali:~#

Similar Threads

  1. Replies: 0
    Last Post: 2021-03-29, 19:44
  2. fglrx-modules-dkms(your architecture here).deb will not build
    By markmonk123 in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2014-09-02, 22:09
  3. Replies: 0
    Last Post: 2013-10-23, 20:51

Posting Permissions

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