The officially official Devuan Forum!

You are not logged in.

#1 2023-09-22 16:23:53

mr12345
Member
Registered: 2023-01-09
Posts: 22  

Can not install "qemu-system-x86"

I am on excalibur now. "qemu-system-x86" somehow depends on "python3-libvirt" which is 9.7.0-1 as of today and then it depends on libvirt0 (>= 9.7.0). But today in the  excalibur and ceres repos we only got  libvirt0 9.6.0-1devuan1.

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'qemu-system-x86' instead of 'qemu-kvm'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python3-libvirt : Depends: libvirt0 (>= 9.7.0) but 9.6.0-1devuan1 is to be installed

I am just a Linux beginner enthusiast smile

Offline

#2 2023-09-22 17:53:12

mr12345
Member
Registered: 2023-01-09
Posts: 22  

Re: Can not install "qemu-system-x86"

got python3-libvirt_9.6.0-1_amd64.deb from the debian snapshots and it did the trick though it is not right. I think the repos should be revised.


I am just a Linux beginner enthusiast smile

Offline

#3 2023-09-24 11:18:53

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,269  

Re: Can not install "qemu-system-x86"

Yeah. It's something to look at when excalibur is going stable.

Offline

#4 2024-07-21 15:33:36

brius
Member
Registered: 2024-07-21
Posts: 1  

Re: Can not install "qemu-system-x86"

The same problem still persists in excalibur today.
Versions:

  • python3-libvirt (= 10.5.0-1+b1)

  • virt-manager (= 1:4.1.0-4)

# apt install virt-manager
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

Unsatisfied dependencies:
 python3-libvirt : Depends: libvirt0 (>= 10.2.0) but 10.0.0-1devuan1 is to be installed
Error: Unable to correct problems, you have held broken packages.

I tried to modify the dependency to libvirt0 in DEBIAN/control of the python3-libvirt package to 10.0.0-1devuan1 which breaks virt-manager.
I also tried to install libvirt0_10.5.0-1_amd64.deb from debian testing which makes virt-manager functional but breaks at least:

  • libvirt-clients (= 10.0.0-1devuan1)

  • libvirt-daemon (= 10.0.0-1devuan1)

  • libvirt-daemon-driver-qemu (= 10.0.0-1devuan1)

  • libvirt-daemon-config-network (= 10.0.0-1devuan1)

  • libvirt-daemon-config-nwfilter (= 10.0.0-1devuan1)

  • libvirt-daemon-system-sysv (= 10.0.0-1devuan1)

I then tried to change the version of libvirt0_10.5.0-1_amd64.deb to 10.0.0-1devuan1 and installing it together with the modified python3-libvirt package, but this breaks too because libvirtd needs the older version of libvirt0:

/usr/sbin/libvirtd:
 /lib/x86_64-linux-gnu/libvirt.so.0:
  version `LIBVIRT_PRIVATE_10.0.0' not found (required by /usr/sbin/libvirtd)

UPDATE:

Based on #2 i found python3-libvirt_10.0.0-1build1_amd64.deb from the Ubuntu archives. Installing this package seems to make virt-manager and qemu-system-x86 work without problems.

Last edited by brius (2024-07-23 10:26:44)

Offline

Board footer