Results 1 to 2 of 2

Thread: Trouble installing kernel headers

  1. #1

    Trouble installing kernel headers

    Hello! This problem stems from when I tried to install VMware, but got the following error message:
    Screenshot from 2020-02-25 18-14-45.jpg

    I had assumed that it was because I hadn't installed my Kernel Headers, so I had used the command: [
    Code:
    sudo apt-get install linux-headers-$(uname -r)
    that I got from this tutorialhttps://computingforgeeks.com/how-to...2-0-kali-sana/), but it simply gave me the following message:

    Code:
    root@nope:~# sudo apt-get install linux-headers-$(uname -r)
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    You might want to run 'apt --fix-broken install' to correct these.
    The following packages have unmet dependencies:
     linux-headers-5.4.0-kali4-amd64 : Depends: linux-headers-5.4.0-kali4-common (= 5.4.19-1kali1) but it is not going to be installed
                                       Depends: linux-kbuild-5.4 (>= 5.4.19-1kali1) but it is not going to be installed
                                       Depends: linux-compiler-gcc-9-x86 but it is not going to be installed
     ruby-cms-scanner : Depends: ruby-progressbar (>= 1.9.0) but it is not going to be installed
    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
    From what I see, it's saying I have unmet dependencies, which I'm not too sure what that means

    Any Help would be greatly appriciated! - Thanks

  2. #2
    Join Date
    2014-Feb
    Posts
    299
    You should run `apt update` again, and then run the command it mentions in the output - `apt --fix-broken install` without the quotes. Sometimes the mirrors haven't finished updating when you've synced so packages aren't available.

Similar Threads

  1. Having problems installing kernel headers (Dependency error)
    By mightybyte in forum TroubleShooting Archive
    Replies: 6
    Last Post: 2017-12-12, 15:58
  2. Trouble updating kernel headers
    By simoneeva in forum TroubleShooting Archive
    Replies: 9
    Last Post: 2016-05-16, 06:04
  3. Installing Kernel Headers
    By slimer in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2016-03-22, 17:56

Posting Permissions

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