Installation issues-----Virtual Box on Kali

Discussions related to using VirtualBox on Linux hosts.
Post Reply
cmartfargo
Posts: 3
Joined: 16. Feb 2017, 01:00

Installation issues-----Virtual Box on Kali

Post by cmartfargo »

Trying to follow the instructions for Debian 8 'jessie' because I heard that was what to use for Kali. So Im followinf along and all was well until I did the actual install command. this is what happened...

The following packages have unmet dependencies:
virtualbox-5.1 : Depends: libpng12-0 (>= 1.2.13-4) but it is not installable
Depends: libssl1.0.0 (>= 1.0.0) but it is not installable
Depends: libvpx1 (>= 1.0.0) but it is not installable
Recommends: libsdl-ttf2.0-0 but it is not going to be installed
Recommends: linux-headers-generic but it is not installable or
linux-headers-generic-pae but it is not installable or
linux-headers-686-pae but it is not installable or
linux-headers-amd64 but it is not going to be installed or
linux-headers-2.6-686 but it is not installable or
linux-headers-2.6-amd64 but it is not installable or
linux-headers but it is not installable
Recommends: linux-image but it is not installable
E: Unable to correct problems, you have held broken packages.

Does anybody know what I missed and how to correct the problem?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Installation issues-----Virtual Box on Kali

Post by Perryg »

You need to figure out why these packages are not installable. Bad repository, network connection, Etc. This is really a host issue though so you need to ask them.
cmartfargo
Posts: 3
Joined: 16. Feb 2017, 01:00

Re: Installation issues-----Virtual Box on Kali

Post by cmartfargo »

Thanks for the quick reply. I'm kinda new to linux and have Kali as my host on a spare laptop that i had lying around. Picked this up to try out some pen testing stuff. Id really like to get Virtual Box setup properly so I dont have to risk messing up my Kali. OK, So I got past the install, however when I run VBox. I get this message.
.....................................................................
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall virtualbox-dkms package and load the kernel module by executing
'modprobe vboxdrv'
as root.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
-----------------------------------------------------------------------
I then followed the instructions to reinstall virtualbox-dkms and when I try to load the kernel module as root it tells me the directory doesnt exist.
How can i fix this one?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Installation issues-----Virtual Box on Kali

Post by Perryg »

Where did you get your VirtualBox that you are trying to install and what is the exact file name?
cmartfargo
Posts: 3
Joined: 16. Feb 2017, 01:00

Re: Installation issues-----Virtual Box on Kali

Post by cmartfargo »

I got if from virtual box's website.
file name is /root/Downloads/virtualbox-5.1_5.1.14-112924~Debian~stretch_amd64.deb
I run Kali as my host and since its Debian based I figured to go with that. I havent found much documentation on getting VBox on Kali.
Are you aware of any good tutorials or youtube videos?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Installation issues-----Virtual Box on Kali

Post by Perryg »

I see you are logging in as root and I do not help users that do that. You can do it but since VirtualBox was not intended to work that way you have to jump through some hoops to get it to work. Maybe someone that does help a user run an unsecured host will drop by and help. Good luck.
towo2099
Volunteer
Posts: 364
Joined: 18. Aug 2014, 21:53
Primary OS: Debian Sid
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Android, Linux

Re: Installation issues-----Virtual Box on Kali

Post by towo2099 »

file name is /root/Downloads/virtualbox-5.1_5.1.14-112924~Debian~stretch_amd64.deb
You need the jessie version!
I see you are logging in as root and I do not help users that do that.
That's standard on Kali Linux.
Post Reply