Bug 486565

Summary: rpm -Uvh does not consider obsoletes
Product: [Fedora] Fedora Reporter: Nicolas Mailhot <nicolas.mailhot>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: ffesti, jhutar, jnovy, n3npq, pinto.elia, pmatilai
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-19 14:27:10 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 Nicolas Mailhot 2009-02-20 10:58:26 UTC
rpm forgets to look at obsoletes when installing/updating a package.

As a result it will happily install an obsoleted package on a system that already includes the package that obsoletes it

This should at minima be treated as a conflict. If a packager declared his package obsoletes some other package, he does not expect them to be installed on the same system. That will usually result in breakage.

rpm-4.6.0-5.fc11.x86_64

Comment 1 Nicolas Mailhot 2009-02-20 11:12:26 UTC
(see also yum bug #486566)

Comment 2 Jeff Johnson 2009-02-21 00:14:28 UTC
Obsoletes are not saved persistently, and are applied only as an event in the current
transaction. RPM has always behaved this way ...

Comment 3 Bug Zapper 2009-06-09 11:32:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Panu Matilainen 2010-03-18 13:44:07 UTC
This is now implemented upstream. No plans to backport this to existing releases though, as its quite a significant behavior change, Fedora will get it through next major rpm update (possibly in F14 timeframe)

Comment 5 Nicolas Mailhot 2010-03-19 09:57:01 UTC
Thanks for the fixing!

Comment 6 Panu Matilainen 2011-01-19 14:27:10 UTC
Fixed in rawhide as of rpm-4.9.0-0.beta1.1.fc15.