Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1.install qemu-kvm-common-1.5.3-13.el7 2.upgrade it to qemu-kvm-common-rhev-1.5.3-19.el7 3. Actual results: # rpm -Uvh * Preparing... ################################# [100%] file /usr/lib64/systemd/ksmctl from install of qemu-kvm-common-rhev-10:1.5.3-19.el7.x86_64 conflicts with file from package qemu-kvm-common-10:1.5.3-13.el7bzfix.x86_64 file /usr/libexec/qemu-bridge-helper from install of qemu-kvm-common-rhev-10:1.5.3-19.el7.x86_64 conflicts with file from package qemu-kvm-common-10:1.5.3-13.el7bzfix.x86_64 file /usr/share/doc/qemu-kvm/qemu-doc.html from install of qemu-kvm-common-rhev-10:1.5.3-19.el7.x86_64 conflicts with file from package qemu-kvm-common-10:1.5.3-13.el7bzfix.x86_64 file /usr/share/doc/qemu-kvm/qmp-commands.txt from install of qemu-kvm-common-rhev-10:1.5.3-19.el7.x86_64 conflicts with file from package qemu-kvm-common-10:1.5.3-13.el7bzfix.x86_64 file /usr/share/man/man1/qemu-kvm.1.gz from install of qemu-kvm-common-rhev-10:1.5.3-19.el7.x86_64 conflicts with file from package qemu-kvm-common-10:1.5.3-13.el7bzfix.x86_64 Expected results: no conflicts Additional info: ## rpm -q qemu-kvm-common-rhev-1.5.3-19.el7.x86_64 --conflicts no output
From KVM QE POV, qemu-kvm-common-rhev and qemu-kvm-common should be conflicted each other. The problem is "rpm -Uvh *" show conflict but "#rpm -q qemu-kvm-common-rhev-1.5.3-19.el7.x86_64 --conflicts" show nothing. Best Regards, Junyi
Require/conflict/obsolete handling macro is incorrectly placed after description section so it is not used correctly.
Fix included in qemu-kvm-1.5.3-20.el7
Reproduce this bug with component: qemu-kvm-common-rhev-1.5.3-19.el7 Steps: 1. upgrade qemu-kvm-common-1.5.3-18.el7 to qemu-kvm-common-rhev-1.5.3-19.el7 # rpm -Uvh qemu-kvm-rhev-1.5.3-19.el7/qemu-kvm-common-rhev-1.5.3-19.el7.x86_64.rpm Results: Preparing... ################################# [100%] file /usr/lib64/systemd/ksmctl from install of qemu-kvm-common-rhev-10:1.5.3-19.el7.x86_64 conflicts with file from package qemu-kvm-common-10:1.5.3-18.el7.x86_64 file /usr/libexec/qemu-bridge-helper from install of qemu-kvm-common-rhev-10:1.5.3-19.el7.x86_64 conflicts with file from package qemu-kvm-common-10:1.5.3-18.el7.x86_64 file /usr/share/doc/qemu-kvm/qmp-commands.txt from install of qemu-kvm-common-rhev-10:1.5.3-19.el7.x86_64 conflicts with file from package qemu-kvm-common-10:1.5.3-18.el7.x86_64 file /usr/share/man/man1/qemu-kvm.1.gz from install of qemu-kvm-common-rhev-10:1.5.3-19.el7.x86_64 conflicts with file from package qemu-kvm-common-10:1.5.3-18.el7.x86_64 Verify this bug with component: qemu-kvm-common-rhev-1.5.3-30.el7 Steps: 1. upgrade qemu-kvm-common-1.5.3-18.el7 to qemu-kvm-common-rhev-1.5.3-30.el7 # rpm -Uvh qemu-kvm-rhev-1.5.3-30.el7/qemu-kvm-common-rhev-1.5.3-30.el7.x86_64.rpm Results: Preparing... ################################# [100%] Updating / installing... 1:qemu-kvm-common-rhev-10:1.5.3-30.################################# [ 50%] Cleaning up / removing... 2:qemu-kvm-common-10:1.5.3-18.el7 ################################# [100%]
But failed to upgrade qemu-kvm-common-*rhev* to qemu-kvm-common. # rpm -Uvh qemu-kvm-1.5.3-31.el7/qemu-kvm-common-1.5.3-31.el7.x86_64.rpm error: Failed dependencies: qemu-kvm-common-rhev conflicts with qemu-kvm-common-10:1.5.3-31.el7.x86_64 qemu-kvm-common-rhel conflicts with (installed) qemu-kvm-common-rhev-10:1.5.3-21.el7.x86_64 qemu-kvm-common < 15:0-0 is obsoleted by (installed) qemu-kvm-common-rhev-10:1.5.3-21.el7.x86_64
(In reply to xuhan from comment #6) > But failed to upgrade qemu-kvm-common-*rhev* to qemu-kvm-common. > > # rpm -Uvh qemu-kvm-1.5.3-31.el7/qemu-kvm-common-1.5.3-31.el7.x86_64.rpm > error: Failed dependencies: > qemu-kvm-common-rhev conflicts with qemu-kvm-common-10:1.5.3-31.el7.x86_64 > qemu-kvm-common-rhel conflicts with (installed) > qemu-kvm-common-rhev-10:1.5.3-21.el7.x86_64 > qemu-kvm-common < 15:0-0 is obsoleted by (installed) > qemu-kvm-common-rhev-10:1.5.3-21.el7.x86_64 reopening then
(In reply to Ademar de Souza Reis Jr. from comment #7) > (In reply to xuhan from comment #6) > > But failed to upgrade qemu-kvm-common-*rhev* to qemu-kvm-common. > > > > # rpm -Uvh qemu-kvm-1.5.3-31.el7/qemu-kvm-common-1.5.3-31.el7.x86_64.rpm > > error: Failed dependencies: > > qemu-kvm-common-rhev conflicts with qemu-kvm-common-10:1.5.3-31.el7.x86_64 > > qemu-kvm-common-rhel conflicts with (installed) > > qemu-kvm-common-rhev-10:1.5.3-21.el7.x86_64 > > qemu-kvm-common < 15:0-0 is obsoleted by (installed) > > qemu-kvm-common-rhev-10:1.5.3-21.el7.x86_64 > > reopening then Hi Ademar, this should be be correct and expected behavior, shouldn't? We allow rhel->rhev update but not rhev->rhel.
(In reply to Miroslav Rezanina from comment #8) > (In reply to Ademar de Souza Reis Jr. from comment #7) > > (In reply to xuhan from comment #6) > > > But failed to upgrade qemu-kvm-common-*rhev* to qemu-kvm-common. > > > > > > # rpm -Uvh qemu-kvm-1.5.3-31.el7/qemu-kvm-common-1.5.3-31.el7.x86_64.rpm > > > error: Failed dependencies: > > > qemu-kvm-common-rhev conflicts with qemu-kvm-common-10:1.5.3-31.el7.x86_64 > > > qemu-kvm-common-rhel conflicts with (installed) > > > qemu-kvm-common-rhev-10:1.5.3-21.el7.x86_64 > > > qemu-kvm-common < 15:0-0 is obsoleted by (installed) > > > qemu-kvm-common-rhev-10:1.5.3-21.el7.x86_64 > > > > reopening then > > Hi Ademar, > this should be be correct and expected behavior, shouldn't? We allow > rhel->rhev update but not rhev->rhel. Yes, that's correct. To downgrade, you should use the downgrade command from yum, not rpm. BTW, I recommend you test using yum as well, as users are not supposed to be using rpm by hand and yum works better on complex transactions and is more consistent.
According to comment5 and comment9, set this issue as verified.
This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request.