Results 1 to 6 of 6

Thread: linux-headers fix for vmware

  1. #1
    Join Date
    2013-May
    Posts
    10

    Wink linux-headers fix for vmware

    Hey guys I was having problems just like many installing vmware on kali. Although there are many posts and solutions non worked for me accept this one. I hope this solves most of your problems which I decided to share. Thanks and hope it works!

    1. Make sure you got these sources listed in your /etc/apt/sources.list (I had only one but not the other which was my problem)
    deb http://http.kali.org/kali kali main contrib non-free
    deb http://security.kali.org/kali-security kali/updates main contrib non-free

    2. Only after you can update and upgrade
    apt-get update
    apt-get upgrade

    3. Now you can successfully install the headers without getting the "package not found error". I used the following command:
    apt-get install gcc make linux-headers-$(uname -r)

    4. This should successfully install the headers and now you can install vmware successfully

    Hope this helped guys if you have any problems let me know I'll get back to you. Thanks!

  2. #2
    Join Date
    2013-Apr
    Posts
    4
    Many thanks! This has just helped me.
    I'm Winston Wolf. I solve problems.

  3. #3
    Join Date
    2013-May
    Posts
    19
    I'm using VMware Workstation v10.0.5 build-2443746 hosting kali v1.1.0a; 'native' VMware tools, as this procedure shows, would install but not give functionality to the HGFS/shared folders.

    Once I made sure my /etc/apt/sources.list was correct (from here: http://docs.kali.org/general-use/kal...t-repositories), I then followed these steps exactly (from: http://docs.kali.org/general-use/ins...ols-kali-guest) and now it all works (including HGFS), and without rebooting, too.

    cd ~
    apt-get install git gcc make linux-headers-$(uname -r)
    git clone https://github.com/rasa/vmware-tools-patches.git
    cd vmware-tools-patches
    cd ~/vmware-tools-patches
    cp /media/cdrom/VMwareTools-9.9.0-2304977.tar.gz downloads/
    ./untar-and-patch-and-compile.sh
    Manually, I've tested removing /root/vmware-tools-patches; rebooting and everything continues to work. This can save space, if you wish.

    Should the kernel get updated; manually execute /usr/bin/vmware-toolbox-cmd; and it will accomplish an update that will (should!) fix everything to continue working correctly.



    R,

    -Joe

  4. #4
    Join Date
    2017-Feb
    Posts
    1
    i tried this but again im getting the same error...

    apt-get install linux-headers-4.4.0-kali1-amd64
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-headers-4.4.0-kali1-amd64
    E: Couldn't find any package by glob 'linux-headers-4.4.0-kali1-amd64'
    E: Couldn't find any package by regex 'linux-headers-4.4.0-kali1-amd64'


    these are my repositories..

    deb http://http.kali.org/kali kali-rolling main contrib non-free
    deb-src http://http.kali.org/kali kali-rolling main contrib non-free
    deb http://http.kali.org/kali kali-dev-only main non-free contrib
    deb http://http.kali.org/kali kali main contrib non-free
    deb http://security.kali.org/kali-security kali/updates main contrib non-free

    please help..

  5. #5
    Join Date
    2017-Feb
    Posts
    2
    Quote Originally Posted by eof View Post
    Hey guys I was having problems just like many installing vmware on kali. Although there are many posts and solutions non worked for me accept this one. I hope this solves most of your problems which I decided to share. Thanks and hope it works!

    1. Make sure you got these sources listed in your /etc/apt/sources.list (I had only one but not the other which was my problem)
    deb http://http.kali.org/kali kali main contrib non-free
    deb http://security.kali.org/kali-security kali/updates main contrib non-free

    2. Only after you can update and upgrade
    apt-get update
    apt-get upgrade

    3. Now you can successfully install the headers without getting the "package not found error". I used the following command:
    apt-get install gcc make linux-headers-$(uname -r)

    4. This should successfully install the headers and now you can install vmware successfully

    Hope this helped guys if you have any problems let me know I'll get back to you. Thanks!

    does not work 4me....


    oot@ka:~# apt-get install gcc make linux-headers-$(uname -r)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-headers-4.6.0-kali1-amd64
    E: Couldn't find any package by glob 'linux-headers-4.6.0-kali1-amd64'
    E: Couldn't find any package by regex 'linux-headers-4.6.0-kali1-amd64'


    still the same error!
    How can I fix the problem? need headers for virtualbox...

  6. #6
    with the right repositories, dist-upgrade and a reboot should be enough

Similar Threads

  1. Replies: 2
    Last Post: 2015-07-09, 20:24
  2. VMware Tools failed after updating Linux Kernel Headers
    By altjx in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2013-06-05, 08:53

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
  •