I have an HDD install of a 64bit 4.0.0-kali1 with Gnome 3 desktop, rolling release repositories, didn't add anything else.
I tried to get virtualbox through the terminal today and though it did install without a hitch the first time around it apparently failed to configure because when i tried to start it up I got an error...which I don't remember anymore (and didn't write down because I thought I can fix it >.<) Anyhow I tried to purge virtualbox and try again but now I'm getting the following output:
Code:
root@kali:~# apt-get update
Hit http://download.virtualbox.org vivid InRelease
Get:1 http://download.virtualbox.org vivid/contrib amd64 Packages [1,572 B]
Get:2 http://download.virtualbox.org vivid/contrib i386 Packages [1,550 B]
Ign http://download.virtualbox.org vivid/contrib Translation-en_US
Ign http://download.virtualbox.org vivid/contrib Translation-en
Hit http://http.kali.org kali-rolling InRelease
Hit http://http.kali.org kali-rolling/main amd64 Packages
Hit http://http.kali.org kali-rolling/contrib amd64 Packages
Hit http://http.kali.org kali-rolling/non-free amd64 Packages
Hit http://http.kali.org kali-rolling/main i386 Packages
Hit http://http.kali.org kali-rolling/contrib i386 Packages
Hit http://http.kali.org kali-rolling/non-free i386 Packages
Ign http://http.kali.org kali-rolling/contrib Translation-en_US
Ign http://http.kali.org kali-rolling/contrib Translation-en
Ign http://http.kali.org kali-rolling/main Translation-en_US
Ign http://http.kali.org kali-rolling/main Translation-en
Ign http://http.kali.org kali-rolling/non-free Translation-en_US
Ign http://http.kali.org kali-rolling/non-free Translation-en
Fetched 3,122 B in 12s (249 B/s)
Reading package lists... Done
W: Duplicate sources.list entry http://download.virtualbox.org/virtualbox/debian/ vivid/contrib amd64 Packages (/var/lib/apt/lists/download.virtualbox.org_virtualbox_debian_dists_vivid_contrib_binary-amd64_Packages)
W: Duplicate sources.list entry http://download.virtualbox.org/virtualbox/debian/ vivid/contrib amd64 Packages (/var/lib/apt/lists/download.virtualbox.org_virtualbox_debian_dists_vivid_contrib_binary-amd64_Packages)
W: Duplicate sources.list entry http://download.virtualbox.org/virtualbox/debian/ vivid/contrib amd64 Packages (/var/lib/apt/lists/download.virtualbox.org_virtualbox_debian_dists_vivid_contrib_binary-amd64_Packages)
W: Duplicate sources.list entry http://download.virtualbox.org/virtualbox/debian/ vivid/contrib i386 Packages (/var/lib/apt/lists/download.virtualbox.org_virtualbox_debian_dists_vivid_contrib_binary-i386_Packages)
W: Duplicate sources.list entry http://download.virtualbox.org/virtualbox/debian/ vivid/contrib i386 Packages (/var/lib/apt/lists/download.virtualbox.org_virtualbox_debian_dists_vivid_contrib_binary-i386_Packages)
W: Duplicate sources.list entry http://download.virtualbox.org/virtualbox/debian/ vivid/contrib i386 Packages (/var/lib/apt/lists/download.virtualbox.org_virtualbox_debian_dists_vivid_contrib_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
root@kali:~# apt-get install virtualbox
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
adwaita-icon-theme : Breaks: gnome-themes-standard-data (< 3.18.0-2~) but 3.14.2.2-1 is to be installed
Breaks: gnome-themes-standard-data:i386 (< 3.18.0-2~)
gstreamer1.0-plugins-base : Breaks: gstreamer1.0-plugins-bad (< 1.7.90) but 1.4.4-2.1+b1 is to be installed
libgstreamer-plugins-base1.0-0 : Breaks: gstreamer1.0-plugins-bad (< 1.7.1) but 1.4.4-2.1+b1 is to be installed
virtualbox : Depends: libvncserver1 (>= 0.9.10) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
root@kali:~# apt-get install dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
dkms is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1988 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up virtualbox (4.3.28-dfsg-1kali1+b1) ...
insserv: script virtualbox: service vboxdrv already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package virtualbox (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of virtualbox-qt:
virtualbox-qt depends on virtualbox (= 4.3.28-dfsg-1kali1+b1); however:
Package virtualbox is not configured yet.
dpkg: error processing package virtualbox-qt (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
virtualbox
virtualbox-qt
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@kali:~#
I'm kind of new to linux in general (and yes I know Kali isn't considered a beginner friendly distro) so I'm stumped on what to do. Are the duplicate entries a big problem? If yes how can I correct that? And why won't virtualbox configure correctly?
I also tries the following guides before:
http://www.computingforgeeks.com/201...latest-on.html
http://www.iexplo1t.com/2015/03/Virtual-Box.html
http://cyberpedia.in/install-virtual...inux-2-0-sana/
Any help is appreciated, even if you just tell me I really messed up the system and need to reinstall it.
Thanks in advance!