LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 11-20-2013, 11:37 AM   #1
sathsish
LQ Newbie
 
Registered: Aug 2013
Posts: 1

Rep: Reputation: Disabled
Smile Virtual Box in Kali Linux


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
 
Old 11-20-2013, 11:43 AM   #2
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
If the full output of "sudo apt-get update" is "Reading package lists... Done" then your system is in a seriously misconfigured state. In which case I recommend to copy the /etc/apt/sources.list from a Kali Live DVD to replace your seriously damaged/missing version of this file. I'd tell you mine but I'm not a Kali user.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue faced while installing Linux in virtual machine in Oracle virtual box ravisingh1 Linux - Virtualization and Cloud 5 04-07-2013 10:42 AM
Slackware 13.37 and Virtual Box 4.1 / Virtual Box 4.012 chris_kzn Slackware 4 07-29-2011 01:51 AM
[SOLVED] Can linux and virtual box do this: MBA Whore Linux - Software 5 08-21-2009 03:13 PM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 11:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration