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 727606 - yum won't localupdate virt-manager 0.8.6.noarch -> 0.9.x86_64
Summary: yum won't localupdate virt-manager 0.8.6.noarch -> 0.9.x86_64
Keywords:
Status: CLOSED DUPLICATE of bug 709225
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum
Version: 6.2
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: James Antill
QA Contact: Karel Srot
URL:
Whiteboard:
Depends On: 726325
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-02 15:06 UTC by Michal Nowak
Modified: 2014-01-21 06:24 UTC (History)
10 users (show)

Fixed In Version: yum-3.2.29-31.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 726325
Environment:
Last Closed: 2012-11-02 14:49:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 15 Karel Srot 2012-10-12 07:51:28 UTC
Hi James,
why would I need the common package? It is not needed at all.

See below:

# rpm -q bz727606-pkg
bz727606-pkg-0.8.6-4.el6.noarch
# rpm -Uvh bz727606-pkg.new.rpm
Preparing...                ########################################### [100%]
   1:bz727606-pkg           ########################################### [100%]
# rpm -q bz727606-pkg
bz727606-pkg-0.9.0-4.el6.x86_64
# 
# rpm -Uvh --oldpackage bz727606-pkg.old.rpm
Preparing...                ########################################### [100%]
   1:bz727606-pkg           ########################################### [100%]
# rpm -q bz727606-pkg
bz727606-pkg-0.8.6-4.el6.noarch
# yum -y localupdate bz727606-pkg.new.rpm
Loaded plugins: security
Setting up Local Package Process
Examining bz727606-pkg.new.rpm: bz727606-pkg-0.9.0-4.el6.x86_64
Marking bz727606-pkg.new.rpm as an update to bz727606-pkg-0.8.6-4.el6.noarch
Nothing to do

Comment 16 James Antill 2012-10-19 19:47:44 UTC
I'm confused ... what is the obsoletes line there for then?

AIUI this bug was about changing arch and thus. obsoleting the old version of yourself ... but that didn't work without the new pkg. being in a repo.

Comment 18 Karel Srot 2012-11-01 15:51:41 UTC
(In reply to comment #16)
> I'm confused ... what is the obsoletes line there for then?
> 
> AIUI this bug was about changing arch and thus. obsoleting the old version
> of yourself ... but that didn't work without the new pkg. being in a repo.

I believe now I know the source of the confusion. Similar issue has been already reported in bug 709225. The situation was:

pkgA-1.0-1.noarch should be updated to pkgA-2.0-1.x86_64

and yum didn't update the package. It was necessary for pkgA-2.0-1 obsoleted the previous version (see 709225#c5).

Situation in this bug is very similar. We have

virt-manager-0.8.6-4.el6.noarch should be updated to virt-manager-0.9.0-6.el6.x86_64
The thing is that there exists also virt-manager-common package (https://apps.fedoraproject.org/packages/virt-manager-common) and to pull in the same version of from various reasons virt-manager-0.9.0-6.el6 contains in SPEC

%define with_tui   0
...
%if %{with_tui} == 0
Obsoletes: virt-manager-common <= %{verrel}
Conflicts: virt-manager-common > %{verrel}
%else
Requires: virt-manager-common = %{verrel}
%endif

This is the conflict I have placed to my test packages (and the conflict that confused you). But what is actually needed is
Obsoletes: virt-manager < %{verrel} 
what ensures that the package is properly updated from noarch package.

So the problem here is actually the same as in the bug 709225. To fix it the virt-manager SPEC should be updated with proper Obsoletes and this bug can be closed as not a bug. 

James, what do you think?

Comment 19 James Antill 2012-11-02 14:49:41 UTC
 Yeh, I think we just miscommunicated for a bit there :).

 After talking on IRC a bit we both agreed this can just be closed as a dup. of 709225, also Karl asked:

<ksrot> why rpm works and yum not? I mean, if we don't have really good answer for that, we may get into this situation again and again. unfortunately there is not such explanation in bug 709225

<james> The short answer is that yum's depsolver is different to rpm's depchecker … and yum's doesn't treat cross arch upgrades in the same way.

...and asked to preserve that here, so people can find it.

*** This bug has been marked as a duplicate of bug 709225 ***

Comment 20 Karel Srot 2012-11-02 14:58:43 UTC
virt-manager bug filed as bug 872611


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