Results 1 to 7 of 7

Thread: Having problems installing kernel headers (Dependency error)

  1. #1
    Join Date
    2017-Dec
    Posts
    2

    Angry Having problems installing kernel headers (Dependency error)

    My kali linux is running on a bootable USB with persistence.

    At first I tried installing the headers this way:

    Code:
    apt-get install build-essential linux-headers-$(uname -r)
    But then I got the following error:
    Code:
    Package linux-headers-4.13.0-kali1-amd64 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    So I tried downloading the file from http://mirror.internode.on.net/pub/k.../main/l/linux/ and installing them manually, problem is I got another error:

    Code:
    dpkg -i linux-headers-4.13.0-kali1-all-amd64_4.13.10-1kali2_amd64.deb
    (Reading database ... 326899 files and directories currently installed.)
    Preparing to unpack linux-headers-4.13.0-kali1-all-amd64_4.13.10-1kali2_amd64.deb ...
    Unpacking linux-headers-4.13.0-kali1-all-amd64 (4.13.10-1kali2) over (4.13.10-1kali2) ...
    dpkg: dependency problems prevent configuration of linux-headers-4.13.0-kali1-all-amd64:
     linux-headers-4.13.0-kali1-all-amd64 depends on linux-headers-4.13.0-kali1-amd64 (= 4.13.10-1kali2); however:
      Package linux-headers-4.13.0-kali1-amd64 is not installed.
    
    dpkg: error processing package linux-headers-4.13.0-kali1-all-amd64 (--install):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     linux-headers-4.13.0-kali1-all-amd64
    What should I do?

  2. #2
    Join Date
    2016-Dec
    Posts
    806
    I'm not familiar with persistence but I'd assume:

    apt-get update
    apt-get dist-upgrade

  3. #3
    Join Date
    2017-Dec
    Posts
    2
    Already tried that, didn't work.

  4. #4
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    sudo apt update && sudo apt upgrade && sudo apt dist-upgrade
    REBOOT
    sudo apt install linux-headers-$(uname -r)
    Last edited by _defalt; 2017-12-12 at 16:48.

  5. #5
    Join Date
    2017-Dec
    Posts
    2
    linux-headers-4.13.0-kali1-amd64 are missing, tested on a brand new installation.

  6. #6
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Quote Originally Posted by CtrAltDEL View Post
    linux-headers-4.13.0-kali1-amd64 are missing, tested on a brand new installation.
    You can install linux headers 4.14 after upgrade.

  7. #7
    Join Date
    2017-Dec
    Posts
    2
    Quote Originally Posted by _defalt View Post
    You can install linux headers 4.14 after upgrade.
    Indeed, i think a reboot was necessary after upgrading now the version is 4.14 & headers are downloading

    Thanks _defalt

Similar Threads

  1. Kali Error Processing package(s) / Dependency problems
    By @KKKK in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2021-03-15, 19:46
  2. Replies: 1
    Last Post: 2017-02-02, 11:20
  3. Installing Kernel Headers
    By slimer in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2016-03-22, 17:56
  4. Replies: 0
    Last Post: 2015-06-30, 03:10

Posting Permissions

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