Results 1 to 10 of 10

Thread: cant install linux-header kali sana/ vmware player

  1. #1
    Join Date
    2015-Jul
    Location
    Cyberworld
    Posts
    6

    cant install linux-header kali sana/ vmware player

    hi,
    i tried to install vmware tools for kali sana but i cant go further than kernel path.
    i tried :
    apt-get update && apt-get install -y linux-headers-$(uname -r)

    it used to work for previous version of kali, but this version i get error: that package cant be find
    is there any other source i need to add to sources.list or what else can i do?

  2. #2
    Join Date
    2015-Aug
    Posts
    8
    I also had this issue with Kali 2.0, but it was due to the sources.list missing the http.kali.org entries from a vanilla install using the amd64 ISO. Add these in, update, and you should be good to go.

    /etc/apt/sources.list:
    Code:
    # Regular Repositories
    deb http://http.kali.org/kali sana main non-free contrib
    deb http://security.kali.org/kali-security sana/updates main contrib non-free
    
    # Source Repositories
    deb-src http://http.kali.org/kali sana main non-free contrib
    deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
    Update and Install
    Code:
    apt-get update
    apt-get install linux-headers-$(uname -r)

  3. #3
    Join Date
    2015-Aug
    Posts
    7
    Quote Originally Posted by Cashiuus View Post
    I also had this issue with Kali 2.0, but it was due to the sources.list missing the http.kali.org entries from a vanilla install using the amd64 ISO. Add these in, update, and you should be good to go.

    /etc/apt/sources.list:
    Code:
    # Regular Repositories
    deb http://http.kali.org/kali sana main non-free contrib
    deb http://security.kali.org/kali-security sana/updates main contrib non-free
    
    # Source Repositories
    deb-src http://http.kali.org/kali sana main non-free contrib
    deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
    Update and Install
    Code:
    apt-get update
    apt-get install linux-headers-$(uname -r)
    Thanks alot
    it helped me and worked

  4. #4
    Join Date
    2015-Jul
    Location
    Cyberworld
    Posts
    6
    Quote Originally Posted by Cashiuus View Post
    I also had this issue with Kali 2.0, but it was due to the sources.list missing the http.kali.org entries from a vanilla install using the amd64 ISO. Add these in, update, and you should be good to go.

    /etc/apt/sources.list:
    Code:
    # Regular Repositories
    deb http://http.kali.org/kali sana main non-free contrib
    deb http://security.kali.org/kali-security sana/updates main contrib non-free
    
    # Source Repositories
    deb-src http://http.kali.org/kali sana main non-free contrib
    deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
    Update and Install
    Code:
    apt-get update
    apt-get install linux-headers-$(uname -r)
    still same
    # apt-get install -y linux-headers$(uname -r)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-headers4.0.0-kali1-amd64
    E: Couldn't find any package by regex 'linux-headers4.0.0-kali1-amd64'

  5. #5
    Quote Originally Posted by Botmaster View Post
    still same
    # apt-get install -y linux-headers$(uname -r)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-headers4.0.0-kali1-amd64
    E: Couldn't find any package by regex 'linux-headers4.0.0-kali1-amd64'
    Thats not the same.
    Your command: apt-get install -y linux-headers$(uname -r) (missing '-')
    Correct command: apt-get install -y linux-headers-$(uname -r)

    After fixing your source file, you HAVE to run apt-get update.
    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/

  6. #6
    Join Date
    2015-Aug
    Posts
    1
    sources.list should use the name sana for 2.0...

  7. #7
    Join Date
    2015-Dec
    Posts
    4

    linux-headers-3.18.0-kali3-686-pae

    Hi,
    I am having a problem and I hope you have time to support me...

    I am not able to get linux-headers-3.18.0-kali3-686-pae installed on linux kali sana after the updarde as follow:
    - my source list as follow
    Code:
     
    deb http://http.kali.org/kali sana main non-free contrib
    deb http://security.kali.org/kali-security sana/updates main contrib non-free
    deb-src http://http.kali.org/kali sana main non-free contrib
    deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
    - I run the following to update using the following command
    Code:
    apt-get update
    apt-get upgrade
    apt-get dist-upgrade
    - I run the following command to install linux header as follow:
    Code:
    apt-get install linux-headers-3.18.0-kali3-686-pae
    and it gives me an error as follow:
    Code:
    E: Unable to locate the package linux-headers-3.18.0-kali3-686-pae
    - I run the following command
    Code:
    apt-get install linux-headers-$(uname -r)
    and it gives me the same error.

  8. #8
    Join Date
    2016-Jan
    Posts
    7
    Hey guys, I made a post of my solution before replying to this thread
    because I was paying attention to other posts about this issue and didn't see this one. I apologize.

    I'll post my solution on here also.

    It pretty simple for me, hopefully it works for everyone.

    I downloaded - VMware-Player-12.1.0-3272444.x86_64.bundle

    # uname -a
    Linux kali 4.0.0-kali1-amd64 #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) x86_64 GNU/Linux

    # apt-get update
    # apt-get install linux-headers-4.0.0-kali1-all-amd64

    After that, I was able to get on vmplayer with no issues.

    cheers
    Last edited by Freshnuts; 2016-01-06 at 09:07. Reason: details on why I posted a new thread

  9. #9
    Join Date
    2016-Aug
    Posts
    1
    Quote Originally Posted by Cashiuus View Post
    I also had this issue with Kali 2.0, but it was due to the sources.list missing the http.kali.org entries from a vanilla install using the amd64 ISO. Add these in, update, and you should be good to go.

    /etc/apt/sources.list:
    Code:
    # Regular Repositories
    deb http://http.kali.org/kali sana main non-free contrib
    deb http://security.kali.org/kali-security sana/updates main contrib non-free
    
    # Source Repositories
    deb-src http://http.kali.org/kali sana main non-free contrib
    deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
    Update and Install
    Code:
    apt-get update
    apt-get install linux-headers-$(uname -r)
    what do i do with the code? do i create a text file with leafpad? and if so what do i name the text file?

    Im soory im kind of new to all linux OS's trying to learn the OS correctly before hard disk installing it on my desktop

  10. #10

    Angry

    i Edit File Source.list

    PHP Code:
    # Regular Repositories
    deb [url]http://http.kali.org/kali[/url] sana main non-free contrib
    deb [url]http://security.kali.org/kali-security[/url] sana/updates main contrib non-free

    # Source Repositories
    deb-src [url]http://http.kali.org/kali[/url] sana main non-free contrib
    deb-src [url]http://security.kali.org/kali-security[/url] sana/updates main contrib non-free 
    This Error Show Me !

    PHP Code:
    root@Galaxy:~# apt-get update
    Reading package lists... Done                                                  
    E
    Method http has died unexpectedly!
    ESub-process http received a segmentation fault
    and check subdomain security.kali.org
    i see havent the folder kali-security
    and 2 subdomain http.kali.org
    havent folder kali

    and NOt updated

    (i downloaded last version kali in your site !)

    ---------
    i have problem install kernel amd64
    PHP Code:
    root@Galaxy:~# 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-4.3.0-kali1-amd64
    E
    Couldn't find any package by glob 'linux-headers-4.3.0-kali1-amd64'
    E: Couldn'
    t find any package by regex 'linux-headers-4.3.0-kali1-amd64' 
    I tray apt-get update and more command


    Nevertheless, I realized that those files are not available within that sub-domain and time again I could not change the amount of packages


    PHP Code:
    deb http://security.kali.org/dists/sana/ updates main contrib non-free
    deb http://http.kali.org/dists/sana-proposed-updates/ updates main contrib non-free 
    Plz help me nearly 12 hours on this work :-|

Similar Threads

  1. Install VMWare player. Fail to install vmnet and vmmon
    By thedarkpassenger in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2022-11-15, 16:12
  2. Replies: 1
    Last Post: 2020-04-21, 19:51
  3. Replies: 5
    Last Post: 2019-12-18, 02: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
  •