Bug 572314
Summary: | yum dependency resolver picks older version of package | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Trevin Beattie <tbeattie> |
Component: | yum | Assignee: | James Antill <james.antill> |
Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 5.3 | ||
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-03-10 20:38:24 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Trevin Beattie
2010-03-10 20:17:53 UTC
this is due to the i386 => noarch change. yum prefers native packages. The recommended way to work around this is to have: Obsoletes: jakarta-commons-codec < 1.4 ...in the newer noarch package. Is there a way to configure yum to prefer newer packages over native packages? and did you notice this entry in RHBA-2009:0176-3? * Given a choice between an arch-specific package and a newer, "noarch" version, yum will now install the newer version. In previous releases, yum preferred arch-specific packages over newer, "noarch" versions when choosing which one to install. The wording is slightly off, what was changed was the behaviour of "yum install jakarta-commons-codec". The behaviour for packages pulled in by requires is more complicated, and I don't believe operates the way you want in even the candidate for RHEL-6. Feel free to open an RFE for RHEL-6 though ... but, again, the easiest thing to do is probably add the obsoletes. |