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 872611 - update obsoletes in SPEC to ensure correct update virt-manager-0.8.6.noarch -> 0.9.x86_64
Summary: update obsoletes in SPEC to ensure correct update virt-manager-0.8.6.noarch -...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-manager
Version: 6.4
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: Martin Kletzander
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 886216
TreeView+ depends on / blocked
 
Reported: 2012-11-02 14:58 UTC by Karel Srot
Modified: 2013-02-21 10:47 UTC (History)
8 users (show)

Fixed In Version: virt-manager-0.9.0-16.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-21 10:47:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0451 0 normal SHIPPED_LIVE virt-manager bug fix and enhancement update 2013-02-20 21:07:45 UTC

Description Karel Srot 2012-11-02 14:58:01 UTC
Description of problem:

because the yum uses a bit different (and more complicated) depsolver, it cannot simply deal with updates from arch to noarch package and vice versa.

virt-manager should explicitly obsolete the noarch version so it is properly updated.

The issue was originally filed as yum bug 727606, please see
comments  727606#c18 and 727606#c19 for more details.


Version-Release number of selected component (if applicable):
virt-manager-0.9

How reproducible:
always

Steps to Reproduce:
1. try to update virt-manager-0.8.6.noarch -> 0.9.x86_64 with yum
  
Actual results:
not updated

Expected results:
pkg updated properly


Additional info:

Comment 2 Geyang Kong 2012-11-05 05:47:23 UTC
I cannot reproduce this bug either, my steps are same as Martin:

[root@KP-T1 Downloads]# rpm -q virt-manager
virt-manager-0.8.6-4.el6.noarch
[root@KP-T1 Downloads]# yum update virt-manager
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security,
              : subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package virt-manager.noarch 0:0.8.6-4.el6 will be updated
---> Package virt-manager.x86_64 0:0.9.0-15.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch           Version               Repository      Size
================================================================================
Updating:
 virt-manager         x86_64         0.9.0-15.el6          rhel64         1.0 M

Transaction Summary
================================================================================
Upgrade       1 Package(s)

Total download size: 1.0 M
Is this ok [y/N]: y
Downloading Packages:
virt-manager-0.9.0-15.el6.x86_64.rpm                     | 1.0 MB     00:05
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Updating   : virt-manager-0.9.0-15.el6.x86_64                             1/2
  Cleanup    : virt-manager-0.8.6-4.el6.noarch                              2/2
Installed products updated.
  Verifying  : virt-manager-0.9.0-15.el6.x86_64                             1/2
  Verifying  : virt-manager-0.8.6-4.el6.noarch                              2/2

Updated:
  virt-manager.x86_64 0:0.9.0-15.el6

Complete!
[root@KP-T1 Downloads]# rpm -q virt-manager
virt-manager-0.9.0-15.el6.x86_64

Comment 3 Karel Srot 2012-11-05 06:55:46 UTC
Hi,
I am sorry I wasn't precise in the bug description. The problem appears with yum localupdate, not yum update (727606#c0 or 727606#c17).

Comment 4 Geyang Kong 2012-11-05 08:20:39 UTC
I've retried following steps and reproduced this bug now:

1. Install rhel6.2 with virtualization tools
2. Make sure it has virt-manager-0.8.6-4.el6.noarch
3. Make a rhel6.4 repo(since virt-manager-0.9.0-15 depends on some other packages so this step is necessary).
4. Download virt-manager-0.9.0-15.el6.x86_64.rpm
5. yum update virt-manager
6. rpm -e virt-manager
7. Delete the yum repo created in step 3.(This step is necessary, or yum update will work well)
8. Download virt-manager-0.8.6-4.el6.noarch.rpm and install it.
9. yum update virt-manager-0.9.0-15.el6.x86_64.rpm

Result:
[root@localhost Downloads]# yum update virt-manager-0.9.0-15.el6.x86_64.rpm 
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
Setting up Update Process
Examining virt-manager-0.9.0-15.el6.x86_64.rpm: virt-manager-0.9.0-15.el6.x86_64
Marking virt-manager-0.9.0-15.el6.x86_64.rpm as an update to virt-manager-0.8.6-4.el6.noarch
No Packages marked for Update

Comment 7 Geyang Kong 2012-12-04 02:45:49 UTC
Verified pass on the following build:
virt-manager-0.9.0-16.el6.x86_64

Steps:
Same as Comment 4

Result:
1. Virt-manager can be updated by yum from noarch to x86_64 arch.

So mark this bug as VERIFIED.

Comment 9 errata-xmlrpc 2013-02-21 10:47:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0451.html


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