mgcdrd
2013-04-28, 14:27
I am trying to install virtualbox in kali so I can use the metasploitable VM to learn Matesploit, and am hitting a wall. I can't figure of how to get around the error. I am using apt-get for the install, but fails with the following errors:
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)
I've tried to configure virtualbox-dkms, but get more errors. This is the root problem, so I need to work this out. I've even tried to download the dpkg package and configure it through dpkg -i. The install goes through, but I can't run anything in it. I removed the packages and then moved on to try apt-get and that is where I am at. Any ideas?
Thanks
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)
I've tried to configure virtualbox-dkms, but get more errors. This is the root problem, so I need to work this out. I've even tried to download the dpkg package and configure it through dpkg -i. The install goes through, but I can't run anything in it. I removed the packages and then moved on to try apt-get and that is where I am at. Any ideas?
Thanks