Results 1 to 12 of 12

Thread: Difficulty Installing VBox on Kali 2016.1

  1. #1
    Join Date
    2015-Sep
    Location
    Denver, CO
    Posts
    2

    Difficulty Installing VBox on Kali 2016.1

    I'm running Kali 2016.1 (fresh install less than 24 hours ago) on a Lenovo T540p laptop. I get the following when trying to install Virtualbox

    Code:
    # sudo apt-get install virtualbox
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Package virtualbox is a virtual package provided by:
      virtualbox-5.0 5.0.20-106931~Debian~jessie [Not candidate version]
    
    E: Package 'virtualbox' has no installation candidate
    I also tried to download the .deb from VBox's website, and install with dpkg -i:

    Code:
    # dpkg -i virtualbox-5.0_5.0.20-106931~Debian~jessie_amd64.deb 
    Selecting previously unselected package virtualbox-5.0.
    (Reading database ... 299498 files and directories currently installed.)
    Preparing to unpack virtualbox-5.0_5.0.20-106931~Debian~jessie_amd64.deb ...
    Unpacking virtualbox-5.0 (5.0.20-106931~Debian~jessie) ...
    dpkg: dependency problems prevent configuration of virtualbox-5.0:
     virtualbox-5.0 depends on libssl1.0.0 (>= 1.0.0); however:
      Package libssl1.0.0 is not installed.
    
    dpkg: error processing package virtualbox-5.0 (--install):
     dependency problems - leaving unconfigured
    Processing triggers for systemd (228-4) ...
    Processing triggers for hicolor-icon-theme (0.13-1) ...
    Processing triggers for shared-mime-info (1.5-2) ...
    Processing triggers for gnome-menus (3.13.3-6) ...
    Processing triggers for desktop-file-utils (0.22-1) ...
    Processing triggers for mime-support (3.59) ...
    Errors were encountered while processing:
     virtualbox-5.0
    Code:
    # apt-get upgrade && apt-get update
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these.
    The following packages have unmet dependencies:
     virtualbox-5.0 : Depends: libssl1.0.0 (>= 1.0.0) but it is not installable
                      Recommends: libsdl-ttf2.0-0 but it is not installable
                      Recommends: dkms but it is not installable
                      Recommends: linux-headers but it is not installable
    E: Unmet dependencies. Try using -f.
    So it looks like I'm missing some dependencies that I cannot install. I know I had this working on Kali Sana, but cannot on Rolling. My google-fu is failing on a resolution. While I'm not a rank neophyte with Linux, I will admit a rather lack of serious experience (side effect of working for a man who seemed to have a Microsoft fetish).

  2. #2
    Join Date
    2016-Apr
    Posts
    100
    I got it installed using this sites help how-to-install-virtualbox-latest

  3. #3
    Join Date
    2016-Jun
    Posts
    1
    I am having the same issue. Even after i followed the instructions in the link above. It is quite frustrating. Does anyone have anymore solutions?

  4. #4
    Join Date
    2016-Apr
    Posts
    100
    What where the errors?
    It's a pretty straight forward tutorial. You just copy and paste a few commands into the terminal.

  5. #5
    Join Date
    2015-Aug
    Posts
    21
    What is your kernel release and version? Usually apt-get update and apt-get upgrade solves this problem.
    Also you can try apt-cache policy virtualbox to see the candidate and version table then choose the version that you want.

    In my case it was apt-get install virtualbox=5.0.20-dfsg-2 and it installed correctly.

    I'm currently on Kali Rolling Version
    *Kernel release: 4.5.0-kali1-amd64
    *Kernel version: #1 SMP Debian 4.5.5-1kali1 (2016-06-06)
    *GNOME Shell 3.20.2

  6. #6
    Join Date
    2016-Jun
    Posts
    3
    I have solved the problem, guys

    what I did:

    apt-get update
    apt-get upgrade
    apt-get dist-upgrade (to update kernel)

    apt-autoremove

    (if you have problem on vbox startup "Kernel driver not installed (rc=-1908)" )
    apt-get remove virtualbox virtualbox-dkms

    reboot

    apt-get install virtualbox

  7. #7
    Join Date
    2016-Aug
    Posts
    1
    Hi,
    I have try this and it works for me..

    1. I format my OS (kali linux)
    2. Don't doing anything after format
    3. run apt-get update (be patience)
    4. run apt-get upgrade (be patience)
    5. run apt-get dist-upgrade (be patience)
    6. run apt-get install virtualbox-dkms
    7. apt-get install linux-headers-$(uname -r)
    8. apt-get install virtualbox-guest-x11
    9. apt-get install virtualbox

    Hope this help.

  8. Quote Originally Posted by DPCPHX View Post
    I am having the same issue. Even after i followed the instructions in the link above. It is quite frustrating. Does anyone have anymore solutions?
    you try to do it this way:
    In my case it was apt-get install virtualbox=5.0.20-dfsg-2 and it installed correctly.

    I'm currently on Kali Rolling Version
    *Kernel release: 4.5.0-kali1-amd64
    *Kernel version: #1 SMP Debian 4.5.5-1kali1 (2016-06-06)
    *GNOME Shell 3.20.2

  9. #9
    Join Date
    2013-May
    Posts
    2

    Install VirtualBox 5.1.4 on Kali Linux 2016.1

    01 September 2016
    Install VirtualBox 5.1.4 on Kali Linux 2016.1 (amd64).

    Step 0 - Preliminaries :

    Remove any installed versions of Virtualbox

    apt-get remove virtualbox
    apt-get autoremove
    apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
    REPEAT UNTIL YOU HAVE EVERYTHING UP TO DATE

    Step 1 - Download dependencies :

    mkdir vboxtmp
    cd vboxtmp

    wget http://http.us.debian.org/debian/poo...b8u2_amd64.deb
    wget http://http.us.debian.org/debian/poo....0-3_amd64.deb
    wget http://http.us.debian.org/debian/poo...b8u2_amd64.deb
    wget http://http.us.debian.org/debian/poo...11-3_amd64.deb

    Step 2 - Download VirtualBox :

    wget http://download.virtualbox.org/virtu...ssie_amd64.deb
    wget http://download.virtualbox.org/virtu...8.vbox-extpack
    wget http://download.virtualbox.org/virtu...ions_5.1.4.iso
    wget http://download.virtualbox.org/virtu...UserManual.pdf

    Step 3 - Create Virtualbox repos :

    echo "deb http://download.virtualbox.org/virtualbox/debian jessie contrib" > /etc/apt/sources.list.d/vbox.list

    Step 4 - Install Virtualbox public key :

    su -c 'wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -'
    su -c 'wget -q http://download.virtualbox.org/virtu..._vbox_2016.asc -O- | sudo apt-key add -'

    Step 5 - Install dependencies :

    dpkg -i libpng12-0_1.2.50-2+deb8u2_amd64.deb
    dpkg -i libvpx1_1.3.0-3_amd64.deb
    dpkg -i libssl1.0.0_1.0.1t-1+deb8u2_amd64.deb
    dpkg -i libsdl-ttf2.0-0_2.0.11-3_amd64.deb

    apt-get -y install linux-headers-amd64 dkms

    apt-get update

    Step 6 - Install Virtualbox 5.1.4 :

    dpkg -i virtualbox-5.1_5.1.4-110228~Debian~jessie_amd64.deb

    Step 7 - Install Virtualbox Extension Pack :

    VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.1.4-110228.vbox-extpack

    Step 8 - Clean up :

    rm *.deb
    rm *.vbox-extpack

    Step 9 - Reboot :

    reboot
    apt-get update

    Step 10 -

    When install Kali Linux as guest on VirtualBox, you may need to install "Guest Additions CD Image".

    Then mount the "Guest Additions CD Image" from the VirtualBox menu.

    cd /media/cdrom0
    cp VBoxLinuxAdditions.run /tmp/
    cd /tmp
    ./VBoxLinuxAdditions.run

  10. #10
    Join Date
    2017-Apr
    Posts
    1
    I tried above steps but still not able to install virtualbox
    kali version:
    Linux version 4.6.0-kali1-amd64 ([email protected]) (gcc version 5.4.0 20160609 (Debian 5.4.0-6) ) #1 SMP Debian 4.6.4-1kali1 (2016-07-21)

    i am trying to install:
    dpkg -i virtualbox-5.1_5.1.22-115126~Debian~stretch_amd64.deb

    Errors:

    Preparing to unpack virtualbox-5.1_5.1.22-115126~Debian~stretch_amd64.deb ...
    Unpacking virtualbox-5.1 (5.1.22-115126~Debian~stretch) ...
    dpkg: dependency problems prevent configuration of virtualbox-5.1:
    virtualbox-5.1 depends on libqt5core5a (>= 5.7.0); however:
    Version of libqt5core5a:amd64 on system is 5.6.1+dfsg-3+b1.
    virtualbox-5.1 depends on libqt5widgets5 (>= 5.7.0); however:
    Version of libqt5widgets5:amd64 on system is 5.6.1+dfsg-3+b1.
    virtualbox-5.1 depends on libqt5x11extras5 (>= 5.6.0); however:
    Package libqt5x11extras5 is not installed.
    virtualbox-5.1 depends on libsdl1.2debian (>= 1.2.11); however:
    Package libsdl1.2debian is not installed.
    virtualbox-5.1 depends on libssl1.1 (>= 1.1.0); however:
    Package libssl1.1 is not installed.
    virtualbox-5.1 depends on libvpx4 (>= 1.6.0); however:
    Package libvpx4 is not installed.

    dpkg: error processing package virtualbox-5.1 (--install):
    dependency problems - leaving unconfigured
    Processing triggers for systemd (231-4) ...
    Processing triggers for gnome-menus (3.13.3-8) ...
    Processing triggers for desktop-file-utils (0.23-1) ...
    Processing triggers for mime-support (3.60) ...
    Processing triggers for hicolor-icon-theme (0.15-1) ...
    Processing triggers for shared-mime-info (1.6-1) ...
    Errors were encountered while processing:
    virtualbox-5.1

  11. #11
    Join Date
    2017-Jul
    Posts
    1
    This worked perfectly for me. Thank you. I'm new to Kali Linux world and this really helped me resolve the issue.

  12. #12
    Join Date
    2017-Aug
    Posts
    1
    Quote Originally Posted by AMJ View Post
    01 September 2016
    Install VirtualBox 5.1.4 on Kali Linux 2016.1 (amd64).

    Step 0 - Preliminaries :

    Remove any installed versions of Virtualbox

    apt-get remove virtualbox
    apt-get autoremove
    apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
    REPEAT UNTIL YOU HAVE EVERYTHING UP TO DATE

    Step 1 - Download dependencies :

    mkdir vboxtmp
    cd vboxtmp

    wget http://http.us.debian.org/debian/poo...b8u2_amd64.deb
    wget http://http.us.debian.org/debian/poo....0-3_amd64.deb
    wget http://http.us.debian.org/debian/poo...b8u2_amd64.deb
    wget http://http.us.debian.org/debian/poo...11-3_amd64.deb

    Step 2 - Download VirtualBox :

    wget http://download.virtualbox.org/virtu...ssie_amd64.deb
    wget http://download.virtualbox.org/virtu...8.vbox-extpack
    wget http://download.virtualbox.org/virtu...ions_5.1.4.iso
    wget http://download.virtualbox.org/virtu...UserManual.pdf

    Step 3 - Create Virtualbox repos :

    echo "deb http://download.virtualbox.org/virtualbox/debian jessie contrib" > /etc/apt/sources.list.d/vbox.list

    Step 4 - Install Virtualbox public key :

    su -c 'wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -'
    su -c 'wget -q http://download.virtualbox.org/virtu..._vbox_2016.asc -O- | sudo apt-key add -'

    Step 5 - Install dependencies :

    dpkg -i libpng12-0_1.2.50-2+deb8u2_amd64.deb
    dpkg -i libvpx1_1.3.0-3_amd64.deb
    dpkg -i libssl1.0.0_1.0.1t-1+deb8u2_amd64.deb
    dpkg -i libsdl-ttf2.0-0_2.0.11-3_amd64.deb

    apt-get -y install linux-headers-amd64 dkms

    apt-get update

    Step 6 - Install Virtualbox 5.1.4 :

    dpkg -i virtualbox-5.1_5.1.4-110228~Debian~jessie_amd64.deb

    Step 7 - Install Virtualbox Extension Pack :

    VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.1.4-110228.vbox-extpack

    Step 8 - Clean up :

    rm *.deb
    rm *.vbox-extpack

    Step 9 - Reboot :

    reboot
    apt-get update

    Step 10 -

    When install Kali Linux as guest on VirtualBox, you may need to install "Guest Additions CD Image".

    Then mount the "Guest Additions CD Image" from the VirtualBox menu.

    cd /media/cdrom0
    cp VBoxLinuxAdditions.run /tmp/
    cd /tmp
    ./VBoxLinuxAdditions.run
    thanks !! I checked and found very well!!!

Similar Threads

  1. Difficulty downloading Kali via bittorrent
    By russeld in forum Installing Archive
    Replies: 0
    Last Post: 2021-09-27, 01:56
  2. Replies: 1
    Last Post: 2017-04-08, 13:27
  3. Error running VBox VM on Kali 2016.2
    By SiberzK in forum General Archive
    Replies: 1
    Last Post: 2016-09-27, 19:30
  4. Difficulty installing ming32w
    By rcaca0 in forum General Archive
    Replies: 1
    Last Post: 2015-10-18, 15:32

Posting Permissions

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