T
T
Titov_Riki2016-09-05 16:51:30
linux
Titov_Riki, 2016-09-05 16:51:30

How to fix an error installing VirtualBox on Kali Linux?

Can't install VirtualBox on Kali Linux! I downloaded the installation package from. site (Debian package) for kali it was not, but built on debian, I decided to try what happens)
1. I enter the command apt-get install virt.deb
Result:
Reading package lists ... Done
Building the dependency tree
Reading status information ... Done
E: Failed to find the virt package. deb
E: Failed to find package using glob "virt.deb"
E: Failed to find package using regex "virt.deb"
Then I tried to revive it like this, and again annoyingly
apt-get install /root/virt.deb
Reading package lists… Done
Building dependency tree
Reading status information… Done
You may want to use "apt-get -f install" to fix these errors.
Packages with unmet dependencies:
virtualbox-5.1 : Depends: libssl1.0.0 (>= 1.0.0) but not installed
Depends: libvpx1 (>= 1.0.0) but not installed
Recommends: libsdl-ttf2.0-0 but it is not installed
Recommends: linux-headers-generic but it cannot be installed or
linux-headers-generic-pae but it cannot be installed or
linux-headers-686-pae but it cannot be installed or
linux-headers-amd64 but it is not installed or
linux-headers-2.6-686 but cannot be installed or
linux-headers-2.6-amd64 but cannot be installed or
linux-headers
Recommends: linux-image
E: Unmet dependencies. Try using -f.
As a result, I started to get angry) and tried to install from the repositories, i.e. from here deb download.virtualbox.org/virtualbox/debian xenial contrib Naturally I
enter nano /etc/apt/sources.list , I prescribe the repository I need there.
Next, I run the apt-get install command and get
Reading package lists ... Done
Building the dependency tree
Reading the status information... Done
You might want to use "apt-get -f install" to fix these errors.
Packages with unmet dependencies:
virtualbox-5.1 : Depends: libssl1.0.0 (>= 1.0.0) but it cannot be installed
Depends: libvpx1 (>= 1.0.0) but it cannot be installed
Recommends: libsdl-ttf2. 0-0 but it cannot be installed
Recommends: linux-headers-generic but it cannot be installed or
linux-headers-generic-pae but it cannot be installed or
linux-headers-686-pae but it cannot be installed or
linux-headers-amd64 but it cannot be installed or
linux-headers-2.6-686 but it cannot be installed or
linux-headers-2.6-amd64 but it is not can be installed or
linux-headers but it can't be installed
Recommends: linux-image but it can't be installed
E: Unmet dependencies. Try using -f.
I have such nonsense only with Kali. Painfully, she is not obedient) But seriously, I honestly don’t understand what kind of nonsense is happening at all. I have previously worked on Ubuntu and Debian, but this is the first time I have encountered such a problem! From this it turns out that either I do not understand something, or the system is not finalized?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2016-09-05
@gangstarcj

Try other download versions. Maybe this one does not support your kernel

N
Nazar Mokrinsky, 2016-09-05
@nazarpc

You install the version for Ubuntu, but on Kali Linux. Current versions of Kali Linux are based on Debian, so you are installing the package from a system that has completely different versions (and, in some places, names) of packages.
Specify which version of Kali Linux you are using and substitute the Debian version that is closest to your version of Kali Linux.
All versions can be seen in the repository: download.virtualbox.org/virtualbox/debian/dists

I
Ivan Bogachev, 2016-09-05
@sfi0zy

E: Unmet dependencies. Try using -f.

I hope you tried. (And you never know what...)
You have only two unmet dependencies: libssl1.0.0 and libvpx1. If they really are not in the kali repositories (although they should be - 1 , 2 ), you can download them separately and install

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question