Virtual Box in Kali Linux

S

sathsish

Guest
how to install virtual box in kali linux.??? i do get the following errors. kindly help me out.

1st try
i got error like
root@kali:~# apt-get update
Reading package lists... Done

2nd try
root@kali:~# dpkg -i virtualbox*

(Reading database ... 232559 files and directories currently installed.)
Preparing to replace virtualbox-4.3 4.3.2-90405~Debian~wheezy (using virtualbox-4.3_4.3.2-90405~Debian~wheezy_i386.deb) ...
Unpacking replacement virtualbox-4.3 ...
dpkg: dependency problems prevent configuration of virtualbox-4.3:
virtualbox-4.3 depends on libqt4-opengl (>= 4:4.7.2); however:
Package libqt4-opengl is not installed.

dpkg: error processing virtualbox-4.3 (--install):
dependency problems - leaving unconfigured
Processing triggers for shared-mime-info ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
virtualbox-4.3

3rd Try

root@kali:~# sudo apt-get install libqt4-opengl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libqt4-opengl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libqt4-opengl' has no installation candidate

4th Try

root@kali:~# apt-get install dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package dkms is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'dkms' has no installation candidate

5th Try

root@kali:~# dpkg -i virtualboxvirtualbox-4.3_4.3.2-90405~Debian~wheezy_i386.deb

dpkg: error processing virtualboxvirtualbox-4.3_4.3.2-90405~Debian~wheezy_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
virtualboxvirtualbox-4.3_4.3.2-90405~Debian~wheezy_i386.deb

Finally I Tried


root@kali:~# apt-cache search virtualbox
root@kali:~# apt-get install virtualbox

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package virtualbox is a virtual package provided by:
virtualbox-4.3 4.3.2-90405~Debian~wheezy [Not candidate version]

E: Package 'virtualbox' has no installation candidate
root@kali:~# dpkg -i virtualbox
dpkg: error processing virtualbox (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
virtualbox...

So this is how i am stuck with Virtual box installation kindly let me know what to do to sort out this issue.??? Thanx in advance.. It will be usefull to many beginners like me
 


how to install virtual box in kali linux.??? i do get the following errors. kindly help me out.

1st try
i got error like
root@kali:~# apt-get update
Reading package lists... Done

2nd try
root@kali:~# dpkg -i virtualbox*

(Reading database ... 232559 files and directories currently installed.)
Preparing to replace virtualbox-4.3 4.3.2-90405~Debian~wheezy (using virtualbox-4.3_4.3.2-90405~Debian~wheezy_i386.deb) ...
Unpacking replacement virtualbox-4.3 ...
dpkg: dependency problems prevent configuration of virtualbox-4.3:
virtualbox-4.3 depends on libqt4-opengl (>= 4:4.7.2); however:
Package libqt4-opengl is not installed.

dpkg: error processing virtualbox-4.3 (--install):
dependency problems - leaving unconfigured
Processing triggers for shared-mime-info ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Errors were encountered while processing:
virtualbox-4.3

3rd Try

root@kali:~# sudo apt-get install libqt4-opengl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libqt4-opengl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libqt4-opengl' has no installation candidate

4th Try

root@kali:~# apt-get install dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package dkms is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'dkms' has no installation candidate

5th Try

root@kali:~# dpkg -i virtualboxvirtualbox-4.3_4.3.2-90405~Debian~wheezy_i386.deb

dpkg: error processing virtualboxvirtualbox-4.3_4.3.2-90405~Debian~wheezy_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
virtualboxvirtualbox-4.3_4.3.2-90405~Debian~wheezy_i386.deb
Finally I Tried

root@kali:~# apt-cache search virtualbox
root@kali:~# apt-get install virtualbox

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package virtualbox is a virtual package provided by:
virtualbox-4.3 4.3.2-90405~Debian~wheezy [Not candidate version]

E: Package 'virtualbox' has no installation candidate
root@kali:~# dpkg -i virtualbox
dpkg: error processing virtualbox (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
virtualbox...

So this is how i am stuck with Virtual box installation kindly let me know what to do to sort out this issue.??? Thanx in advance.. It will be usefull to many beginners like me


Download and install the Debian file from Virtualbox's official page/website. By the way, what repository are you using to get Vbox?
 

Members online


Top