| Summary: | can not upgrade qemu-kvm-common to qemu-kvm-common-rhev due to conflicts | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Mike Cao <bcao> |
| Component: | qemu-kvm | Assignee: | Miroslav Rezanina <mrezanin> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.0 | CC: | acathrow, areis, hhuang, juzhang, michen, tpoitras, virt-maint, xuhan |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | qemu-kvm-1.5.3-20.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-13 12:30:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1080820 | ||
|
Description
Mike Cao
2013-11-22 07:21:43 UTC
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. 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. |