RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1033463 - can not upgrade qemu-kvm-common to qemu-kvm-common-rhev due to conflicts
Summary: can not upgrade qemu-kvm-common to qemu-kvm-common-rhev due to conflicts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Miroslav Rezanina
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1080820
TreeView+ depends on / blocked
 
Reported: 2013-11-22 07:21 UTC by Mike Cao
Modified: 2015-11-23 03:37 UTC (History)
8 users (show)

Fixed In Version: qemu-kvm-1.5.3-20.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 12:30:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0985 0 normal SHIPPED_LIVE qemu-kvm bug fix and enhancement update 2014-07-29 23:34:16 UTC

Description Mike Cao 2013-11-22 07:21:43 UTC
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

Comment 1 juzhang 2013-11-22 07:24:24 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

Comment 2 Miroslav Rezanina 2013-11-26 07:11:13 UTC
Require/conflict/obsolete handling macro is incorrectly placed after description section so it is not used correctly.

Comment 3 Miroslav Rezanina 2013-11-28 07:37:19 UTC
Fix included in qemu-kvm-1.5.3-20.el7

Comment 5 Xu Han 2013-12-31 09:10:38 UTC
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%]

Comment 6 Xu Han 2013-12-31 09:16:53 UTC
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

Comment 7 Ademar Reis 2013-12-31 17:33:10 UTC
(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

Comment 8 Miroslav Rezanina 2014-01-06 06:34:07 UTC
(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.

Comment 9 Ademar Reis 2014-01-06 14:25:47 UTC
(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.

Comment 11 juzhang 2014-03-19 03:56:37 UTC
According to comment5 and comment9, set this issue as verified.

Comment 12 Ludek Smid 2014-06-13 12:30:57 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.