Results 1 to 2 of 2

Thread: Unable to install ATI drivers under 3.18 kernel

  1. #1
    Join Date
    2015-Feb
    Posts
    1

    Unable to install ATI drivers under 3.18 kernel

    Hy

    I am running clean install of Kali 1.09a-amd64, direct boot from HDD.
    I did
    PHP Code:
    sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade 
    While installing ATI drivers I encountered problems installing headers.

    This is fglrx-install.log, from which can be seen that kernel headers are missing.
    PHP Code:
    Supported adapter detected.
    Supported adapter detected.
    Supported adapter detected.
    Supported adapter detected.
    Supported adapter detected.
    Supported adapter detected.
    Supported adapter detected.
    Supported adapter detected.
    Check if system has the tools required for installation.
    fglrx installation requires that the system have kernel headers for 3.7 release.  /lib/modules/3.14-kali1-amd64/build/include/generated/uapi/linux/version.h cannot be found on this system.
    One or more tools required for installation cannot be found on the systemInstall the required tools before installing the fglrx driver.
    Optionallyrun the installer with --force option to install without the tools.
    Forcing install will disable AMD hardware acceleration and may make your system unstableNot recommended
    When i try to install them with apt-get install linux-headers-$(uname -r):
    PHP Code:
    Reading package lists... Done
    Building dependency tree      
    Reading state information
    ... Done
    E
    Unable to locate package linux-headers-3.14-kali1-amd64
    E
    Couldn't find any package by regex 'linux-headers-3.14-kali1-amd64
    Output of apt-cache search linux-headers
    PHP Code:
    linux-headers-3.18.0-kali1-all All header files for Linux 3.18 (meta-package)
    linux-headers-3.18.0-kali1-all-amd64 All header files for Linux 3.18 (meta-package)
    linux-headers-3.18.0-kali1-amd64 Header files for Linux 3.18.0-kali1-amd64
    linux
    -headers-3.18.0-kali1-common Common header files for Linux 3.18.0-kali1
    linux
    -headers-amd64 Header files for Linux amd64 configuration (meta-package
    3.18.0 version can be installed, but problem presists.

    My sources.list (I have tried with commented and with uncommented- no difference)
    PHP Code:
    ##deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20141002-11:29]/ kali contrib main non-free
    ##deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20141002-11:29]/ kali contrib main non-free
    #deb http://http.kali.org/kali kali main non-free contrib
    #deb-src http://http.kali.org/kali kali main non-free contrib
    ### Security updates
    #deb http://security.kali.org/kali-security kali/updates main contrib non-free
    ## Original up to this point

    ## Kali Regular repositories
    deb http://http.kali.org/kali kali main non-free contrib
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    ## Kali Source repositories
    deb-src http://http.kali.org/kali kali main non-free contrib
    deb-src http://security.kali.org/kali-security kali/updates main contrib non-free 
    Any advice apreciated.

    Thanks!

  2. #2
    Quote Originally Posted by martin View Post
    When i try to install them with apt-get install linux-headers-$(uname -r):
    PHP Code:
    Reading package lists... Done
    Building dependency tree      
    Reading state information
    ... Done
    E
    Unable to locate package linux-headers-3.14-kali1-amd64
    E
    Couldn't find any package by regex 'linux-headers-3.14-kali1-amd64
    From the output, you are not using the 3.18 kernel.
    You are still on 3.14. Did you reboot after doing 'sudo apt-get dist-upgrade'
    and for the record, you are root, so you don't need sudo


    Quote Originally Posted by martin View Post
    Output of apt-cache search linux-headers
    PHP Code:
    linux-headers-3.18.0-kali1-all All header files for Linux 3.18 (meta-package)
    linux-headers-3.18.0-kali1-all-amd64 All header files for Linux 3.18 (meta-package)
    linux-headers-3.18.0-kali1-amd64 Header files for Linux 3.18.0-kali1-amd64
    linux
    -headers-3.18.0-kali1-common Common header files for Linux 3.18.0-kali1
    linux
    -headers-amd64 Header files for Linux amd64 configuration (meta-package
    3.18.0 version can be installed, but problem presists.
    Yes, because we only keep the latest kernel headers in the repo.
    You are not using the latest kernel.
    This is a Kali-Linux support forum - not general IT/infosec help.

    Useful Commands: OS, Networking, Hardware, Wi-Fi
    Troubleshooting: Kali-Linux Installation, Repository, Wi-Fi Cards (Official Docs)
    Hardware: Recommended 802.11 Wireless Cards

    Documentation: http://docs.kali.org/ (Offline PDF version)
    Bugs Reporting & Tool Requests: https://bugs.kali.org/
    Kali Tool List, Versions & Man Pages: https://tools.kali.org/

Similar Threads

  1. Unable to install libc6 (Kernel must be upgraded) - Error
    By widgetfork in forum NetHunter General Questions
    Replies: 1
    Last Post: 2018-02-13, 03:39
  2. Unable to install required drivers for wifi dongle
    By Vulpes in forum TroubleShooting Archive
    Replies: 5
    Last Post: 2017-10-10, 17:28
  3. Replies: 12
    Last Post: 2015-11-12, 21:14
  4. Replies: 1
    Last Post: 2014-02-06, 10:38

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
  •