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:
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
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).
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
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.
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