how to fix qemu/kvm bug

If none of the more specific forums is the right place to ask

how to fix qemu/kvm bug

Postby Johnny_Cage » 2018-05-19 18:37

Hi. Is it bug? Can you help me to fix it?

/usr/bin/qemu-system-x86_64 -version
/usr/bin/qemu-system-x86_64: error while loading shared libraries: libxenctrl-4.8.so: cannot open shared object file: No such file or directory


qemu-system-x86_64: error while loading shared libraries: libxenctrl-4.8.so: cannot open shared object file: No such file or directory

libxen-4.8/now 2001:4.8.3-4+deb9u1 amd64 [installed,local]
Libraries for Xen tools

ls -l /usr/lib/x86_64-linux-gnu/libxenctrl.so.4.8
lrwxrwxrwx 1 root root 19 Mar 21 05:00 /usr/lib/x86_64-linux-gnu/libxenctrl.so.4.8 -> libxenctrl.so.4.8.0

ldd /usr/bin/qemu-system-x86_64

libxenctrl-4.8.so => not found


The following packages have unmet dependencies:
libxen-dev : Depends: libxen-4.8 (= 2001:4.8.3-3+deb9u1) but 2001:4.8.3-4+deb9u1 is to be installed
Depends: libxen-lowlevel1.0 (= 2001:4.8.3-3+deb9u1) but 2001:4.8.3-4+deb9u1 is to be installed
Depends: libxenstore3.0 (= 2001:4.8.3-3+deb9u1) but 2001:4.8.3-4+deb9u1 is to be installed
E: Unable to correct problems, you have held broken packages.


sudo apt install libxen-4.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxen-4.8 is already the newest version (2001:4.8.3-4+deb9u1).

user@debian-9:~$ ldd /usr/bin/qemu-system-x86_64 | grep libxenctrl
libxenctrl-4.8.so => not found

OS: Debian GNU/Linux 9.4 (stretch) x86_64
Johnny_Cage
 
Posts: 3
Joined: 2018-05-19 18:33

Re: how to fix qemu/kvm bug

Postby Head_on_a_Stick » 2018-05-19 18:42

Please post the full output of
Code: Select all
apt policy
"Il semble que la perfection soit atteinte non quand il n'y a plus rien à ajouter, mais quand il n'y a plus rien à retrancher."
— Antoine de Saint Exupéry, Terre des Hommes (1939).
User avatar
Head_on_a_Stick
 
Posts: 7551
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: how to fix qemu/kvm bug

Postby Johnny_Cage » 2018-05-19 18:45

user@debian-9:~$ apt policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://deb.qubes-os.org/r4.0/vm stretch/main amd64 Packages
release o=Qubes Debian,n=stretch,l=Qubes Debian,c=main,b=amd64
origin deb.qubes-os.org
500 http://security.debian.org stretch/updates/non-free amd64 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=non-free,b=amd64
origin security.debian.org
500 http://security.debian.org stretch/updates/contrib amd64 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=contrib,b=amd64
origin security.debian.org
500 http://security.debian.org stretch/updates/main amd64 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=amd64
origin security.debian.org
500 http://deb.debian.org/debian stretch/non-free amd64 Packages
release v=9.4,o=Debian,a=stable,n=stretch,l=Debian,c=non-free,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian stretch/contrib amd64 Packages
release v=9.4,o=Debian,a=stable,n=stretch,l=Debian,c=contrib,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian stretch/main amd64 Packages
release v=9.4,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64
origin deb.debian.org
Pinned packages:
user@debian-9:~$
Johnny_Cage
 
Posts: 3
Joined: 2018-05-19 18:33

Re: how to fix qemu/kvm bug

Postby Head_on_a_Stick » 2018-05-19 19:02

Johnny_Cage wrote:
Code: Select all
 500 http://deb.qubes-os.org/r4.0/vm stretch/main amd64 Packages
     release o=Qubes Debian,n=stretch,l=Qubes Debian,c=main,b=amd64
     origin deb.qubes-os.org

^ I would blame this until proven otherwise.

QEMU/KVM works for me in sid, jessie and stretch (I don't have a buster box).
"Il semble que la perfection soit atteinte non quand il n'y a plus rien à ajouter, mais quand il n'y a plus rien à retrancher."
— Antoine de Saint Exupéry, Terre des Hommes (1939).
User avatar
Head_on_a_Stick
 
Posts: 7551
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: how to fix qemu/kvm bug

Postby Johnny_Cage » 2018-05-19 19:23

QEMU/KVM works for me in sid, jessie and stretch (I don't have a buster box).

Ok thanks, maybe try ask Qubes devs.
Johnny_Cage
 
Posts: 3
Joined: 2018-05-19 18:33


Return to General Questions

Who is online

Users browsing this forum: broelling and 4 guests

fashionable