Results 1 to 2 of 2

Thread: VBox 5.0.4 on MInt (cinnamon) as host running Kali linux 2.0

  1. #1
    Join Date
    2015-Sep
    Posts
    1

    VBox 5.0.4 on MInt (cinnamon) as host running Kali linux 2.0

    Hey guys, as you can see I’m just the newest member of the Forums at the time of this post, I am currently running Linux Mint (Cinnamon)
    i have tried to obtain help on VirtualBox forums but in reality we realized its an issue with Kali itself or my particular configuration any ways please read on and any help would be appreciated:

    this is my host machine:

    ""Linux mperor-Aspire-5251 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux""

    I have VirtualBox 5.0.4 and i installed Kali Linux 2.0 see below:

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


    I installed the VB with no issues, now the problem started when i tried to install the "guest additions" since first off i am unable to install DKMS:

    ""root@kaliMperor:~# apt-get install dkms
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package dkms 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

    E: Package 'dkms' has no installation candidate""

    also trying to update my headers gives me the infamous :

    ""Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-headers-4.0.0-kali1-amd64
    E: Couldn't find any package by regex 'linux-headers-4.0.0-kali1-amd64'"

    Here is my sources.list and it is exactly as it comes, i am not sure if i am missing any link i have tried to add all kind of sources and it still doesn’t work:

    #

    # deb cdrom:[Debian GNU/Linux 2.0 _Sana_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150811-08:02]/ sana contrib main non-free

    #deb cdrom:[Debian GNU/Linux 2.0 _Sana_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150811-08:02]/ sana contrib main non-free

    deb http://security.kali.org/kali-security/ sana/updates main contrib non-free
    deb-src http://security.kali.org/kali-security/ sana/updates main contrib non-free


    At this point guys I dont know what to do i have tried everything and there is no way i can get the headers for my kernel (could it be that my host kenel being 3.13.0-37-generic differs from the VirtualBox kali linux machine 4.0.0-kali1-amd64)???

    any help would be appreciated it...

  2. #2
    Join Date
    2015-Sep
    Location
    Iran,Tehran
    Posts
    4
    have you ever use sudo before apt-get like this
    ""root@kaliMperor:~# sudo apt-get install dkms

    & I recommand you to use " Synaptic Package Manager " for installing or removing ....

    so first remove every thing & install it again
    you'd better let Synaptic Package Manager to download it for you

Similar Threads

  1. Error running VBox VM on Kali 2016.2
    By SiberzK in forum General Archive
    Replies: 1
    Last Post: 2016-09-27, 19:30
  2. Kali Linux Vbox host. Unable to start VM
    By expphoto in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2016-03-20, 22:21

Posting Permissions

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