hello, my name is drew and i am having problems installing virtual box on kali. i have checked the forum and there seems to be no solution to my problem. kindly assist.
when i try to install vb via the terminal, i get the following error:
Code:
apt-get install virtualbox
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libgsoap2 libvncserver0 virtualbox-dkms virtualbox-qt
Suggested packages:
libvncserver0-dbg virtualbox-guest-additions-iso vde2
The following packages will be REMOVED:
virtualbox-4.3
The following NEW packages will be installed:
libgsoap2 libvncserver0 virtualbox virtualbox-dkms virtualbox-qt
0 upgraded, 5 newly installed, 1 to remove and 122 not upgraded.
Need to get 18.5 MB of archives.
After this operation, 88.0 MB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://http.kali.org/ /kali/main libvncserver0 i386 0.9.9+dfsg-1 [277 kB]
Get:2 http://http.kali.org/ /kali/main libgsoap2 i386 2.8.7-2 [540 kB]
Get:3 http://http.kali.org/ /kali/main virtualbox i386 4.1.18-dfsg-2.1 [12.9 MB]
Get:4 http://http.kali.org/ /kali/main virtualbox i386 4.1.18-dfsg-2.1 [12.9 MB]
25% [4 virtualbox 3,871 kB/12.9 MB 30%]
Get:5 http://http.kali.org/ /kali/main virtualbox i386 4.1.18-dfsg-2.1 [12.9 MB]
Get:6 http://http.kali.org/ /kali/main virtualbox i386 4.1.18-dfsg-2.1 [12.9 MB]
Get:7 http://http.kali.org/ /kali/main virtualbox-dkms all 4.1.18-dfsg-2.1 [496 kB]
Get:8 http://http.kali.org/ /kali/main virtualbox-qt i386 4.1.18-dfsg-2.1 [4,236 kB]
Fetched 10.4 MB in 9min 7s (19.1 kB/s)
(Reading database ... 296954 files and directories currently installed.)
Removing virtualbox-4.3 ...
Stopping VirtualBox kernel modules ...done.
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for shared-mime-info ...
Selecting previously unselected package libvncserver0:i386.
(Reading database ... 296208 files and directories currently installed.)
Unpacking libvncserver0:i386 (from .../libvncserver0_0.9.9+dfsg-1_i386.deb) ...
Selecting previously unselected package libgsoap2.
Unpacking libgsoap2 (from .../libgsoap2_2.8.7-2_i386.deb) ...
Selecting previously unselected package virtualbox.
Unpacking virtualbox (from .../virtualbox_4.1.18-dfsg-2.1_i386.deb) ...
Selecting previously unselected package virtualbox-dkms.
Unpacking virtualbox-dkms (from .../virtualbox-dkms_4.1.18-dfsg-2.1_all.deb) ...
Selecting previously unselected package virtualbox-qt.
Unpacking virtualbox-qt (from .../virtualbox-qt_4.1.18-dfsg-2.1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for shared-mime-info ...
Processing triggers for menu ...
Setting up libvncserver0:i386 (0.9.9+dfsg-1) ...
Setting up libgsoap2 (2.8.7-2) ...
Setting up virtualbox (4.1.18-dfsg-2.1) ...
insserv: script virtualbox: service vboxdrv already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing virtualbox (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of virtualbox-dkms:
virtualbox-dkms depends on virtualbox (>= 4.1.18-dfsg-2.1); however:
Package virtualbox is not configured yet.
dpkg: error processing virtualbox-dkms (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-qt:
virtualbox-qt depends on virtualbox (= 4.1.18-dfsg-2.1); however:
Package virtualbox is not configured yet.
dpkg: error processing virtualbox-qt (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
virtualbox
virtualbox-dkms
virtualbox-qt
E: Sub-process /usr/bin/dpkg returned an error code (1)
this is the information found on vbox-install.log:
Code:
Uninstalling modules from DKMS
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/4.3.2/source ->
/usr/src/vboxhost-4.3.2
DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
if anyone can help,kindly assist a n00b in a sea of linux