Gianluca Cecchi
2024-Mar-14 09:46 UTC
[CentOS] CentOS Virt SIG and packages' priority problems?
Hello,
some days ago I followed these instructions
https://sigs.centos.org/virt/tdx/host/
and after enabling the repo I installed the tdx necessary bits as
indicated, with the command
dnf install kernel-tdx qemu-kvm-tdx libvirt-tdx
This gave me:
libvirt 9.5.0-1.el9s
qemu-kvm 8.0.0-15.el9s
kernel 5.14.0-395.el9s
But now if I run a usual "dnf update" I'm proposed
"standard" libvirt
and qemu-kvm sw stack,
I think because of their version apparently greater (10 vs 9.5 and 8.2 vs 8.0):
Upgrading:
libvirt x86_64
10.0.0-4.el9 appstream
23 k
libvirt-client x86_64
10.0.0-4.el9 appstream
438 k
libvirt-client-qemu x86_64
10.0.0-4.el9 appstream
47 k
libvirt-daemon x86_64
10.0.0-4.el9 appstream
213 k
libvirt-daemon-common x86_64
10.0.0-4.el9 appstream
139 k
libvirt-daemon-config-network x86_64
10.0.0-4.el9 appstream
29 k
libvirt-daemon-config-nwfilter x86_64
10.0.0-4.el9 appstream
42 k
libvirt-daemon-driver-interface x86_64
10.0.0-4.el9 appstream
219 k
libvirt-daemon-driver-network x86_64
10.0.0-4.el9 appstream
260 k
libvirt-daemon-driver-nodedev x86_64
10.0.0-4.el9 appstream
240 k
libvirt-daemon-driver-nwfilter x86_64
10.0.0-4.el9 appstream
255 k
libvirt-daemon-driver-qemu x86_64
10.0.0-4.el9 appstream
976 k
libvirt-daemon-driver-secret x86_64
10.0.0-4.el9 appstream
216 k
libvirt-daemon-driver-storage x86_64
10.0.0-4.el9 appstream
23 k
libvirt-daemon-driver-storage-core x86_64
10.0.0-4.el9 appstream
276 k
libvirt-daemon-driver-storage-disk x86_64
10.0.0-4.el9 appstream
38 k
libvirt-daemon-driver-storage-iscsi x86_64
10.0.0-4.el9 appstream
35 k
libvirt-daemon-driver-storage-logical x86_64
10.0.0-4.el9 appstream
39 k
libvirt-daemon-driver-storage-mpath x86_64
10.0.0-4.el9 appstream
32 k
libvirt-daemon-driver-storage-rbd x86_64
10.0.0-4.el9 appstream
43 k
libvirt-daemon-driver-storage-scsi x86_64
10.0.0-4.el9 appstream
35 k
libvirt-daemon-lock x86_64
10.0.0-4.el9 appstream
64 k
libvirt-daemon-log x86_64
10.0.0-4.el9 appstream
69 k
libvirt-daemon-plugin-lockd x86_64
10.0.0-4.el9 appstream
38 k
libvirt-daemon-proxy x86_64
10.0.0-4.el9 appstream
211 k
libvirt-libs x86_64
10.0.0-4.el9 appstream
4.9 M
python3-libvirt x86_64
10.0.0-1.el9 appstream
339 k
qemu-img x86_64
17:8.2.0-6.el9 appstream
2.5 M
qemu-kvm x86_64
17:8.2.0-6.el9 appstream
68 k
qemu-kvm-audio-pa x86_64
17:8.2.0-6.el9 appstream
81 k
qemu-kvm-block-blkio x86_64
17:8.2.0-6.el9 appstream
84 k
qemu-kvm-block-rbd x86_64
17:8.2.0-6.el9 appstream
86 k
qemu-kvm-common x86_64
17:8.2.0-6.el9 appstream
685 k
qemu-kvm-core x86_64
17:8.2.0-6.el9 appstream
4.3 M
qemu-kvm-device-display-virtio-gpu x86_64
17:8.2.0-6.el9 appstream
92 k
qemu-kvm-device-display-virtio-gpu-pci x86_64
17:8.2.0-6.el9 appstream
76 k
qemu-kvm-device-display-virtio-vga x86_64
17:8.2.0-6.el9 appstream
77 k
qemu-kvm-device-usb-host x86_64
17:8.2.0-6.el9 appstream
90 k
qemu-kvm-device-usb-redirect x86_64
17:8.2.0-6.el9 appstream
95 k
qemu-kvm-docs x86_64
17:8.2.0-6.el9 appstream
1.2 M
qemu-kvm-tools x86_64
17:8.2.0-6.el9 appstream
584 k
qemu-kvm-ui-egl-headless x86_64
17:8.2.0-6.el9 appstream
77 k
qemu-kvm-ui-opengl x86_64
17:8.2.0-6.el9 appstream
84 k
qemu-pr-helper x86_64
17:8.2.0-6.el9 appstream
497 k
What is the best option to blacklist the packages in appstream and
prioritize the tdx ones?
I tried adding priority=1 to the tdx repo file, but now I get this
when running "dnf update":
Error:
Problem: package python3-libvirt-10.0.0-1.el9.x86_64 from appstream
requires libvirt.so.0(LIBVIRT_9.7.0)(64bit), but none of the providers
can be installed
- cannot install both libvirt-libs-10.0.0-2.el9.x86_64 from
appstream and libvirt-libs-9.5.0-1.el9s.x86_64 from @System
- cannot install both libvirt-libs-10.0.0-3.el9.x86_64 from
appstream and libvirt-libs-9.5.0-1.el9s.x86_64 from @System
- cannot install both libvirt-libs-10.0.0-4.el9.x86_64 from
appstream and libvirt-libs-9.5.0-1.el9s.x86_64 from @System
- cannot install both libvirt-libs-9.10.0-1.el9.x86_64 from
appstream and libvirt-libs-9.5.0-1.el9s.x86_64 from @System
- cannot install both libvirt-libs-9.9.0-1.el9.x86_64 from appstream
and libvirt-libs-9.5.0-1.el9s.x86_64 from @System
- cannot install the best update candidate for package
python3-libvirt-9.3.0-1.el9.x86_64
- cannot install the best update candidate for package
libvirt-libs-9.5.0-1.el9s.x86_64
(try to add '--allowerasing' to command line to replace conflicting
packages or '--skip-broken' to skip uninstallable packages or
'--nobest' to use not only best candidate packages)
#
Currently I have python3-libvirt-9.3.0-1.el9.x86_64 installed.
Thanks for any advise
Gianluca
