Red Hat Bugzilla – Bug 466499
RFE: yum install ./pkg*.rpm shouldn't install packages obsoleted by another package (rpm too)
Last modified: 2010-11-10 17:00:24 EST
If you change this in RPM, it can still cause gotchas with yum under the following scenario:
- A obsoletes B
- you have neither installed
- you install B
- upgrade then pulls in A
So, I'm not sure the simple fix here helps, but a complex fix that doesn't allow installing B in the situation above won't be applicable to RPM, since it doesn't deal at the repository level.
Why is the scenario in Comment 1 a problem? It's exactly what you'd get if B were in a channel, and then A was released. Packages that obsolete one another are always worth an extra few doses of caution, and why things like --exclude exist. Correct? or am I missing something?
Yeh, I think that's fine ... as long as rpm doesn't allow both to be installed I'm fine ... even if it allows you to do: rpm -e A && rpm -ivh B ... that's fine, yum can deal with the result.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
On the yum side, if obsoletes processing is turn on we now look at that. So this is "fixed" I guess.
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.