PDA

View Full Version : Installing KVM - Dependencies not installable



Neokil
2015-11-25, 18:35
Hey guys,

I am not sure if that was already asked but KVM is too short for the search :/

What I am trying to do is (simply) installing kvm, but "apt-get install KVM" tells me something like: "Depends: qemu-system-x86 (>= 1,7,0+dfsg-2~) but it is not going to be installed"
So next I tried to install the qemu-system-x86 but this tells me another bunch of dependencies are missing (libfdt1, libiscsi2, librados2, lobrbdl, libseccomp2, libusbredirparser1, ...)
But when I try to install the first dependency "apt-get install libdft1" it tells me "Unable to locate paclage libdft1".

Is there a fix or a workaround for that?


Greetings
Neokil

duxim
2015-11-25, 19:22
before every installation (apt-get install) I need to run
sudo apt-get update
and after that i don't have any problems

Neokil
2015-11-25, 20:10
sadly it didnt work for me.

Maybe I need to add a different repo for this? anyone who tried kvm in kali before?

duxim
2015-11-26, 08:35
i try to install kvm with
sudo apt-get install kvm
and everything was fine. no problem at all
this is my source list ( /etc/apt/sources.list ) and check it with yours



#Regular repositories
deb http://http.kali.org/kali/ sana main non-free contrib
deb http://security.kali.org/kali-security/ sana/updates main contrib non-free

#Source repositories
deb-src http://http.kali.org/kali/ sana main non-free contrib
deb-src http://security.kali.org/kali-security/ sana/updates main contrib non-free


maybe you just need

sudo apt-get update
sudo-apt-get upgrade

and then try to install kvm
I don't see any other reason (maybe you run as root, then switch to user account)

Neokil
2015-11-26, 18:58
strangely enough my sources.list just had the security.kali.org-repositories, when I added the other two it installed perfectly.
But I am still not sure, why these lines were missing on a freshly installed system.

even so, thanks very much :)