Bug 486565 - rpm -Uvh does not consider obsoletes
Summary: rpm -Uvh does not consider obsoletes
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-20 10:58 UTC by Nicolas Mailhot
Modified: 2011-01-19 14:27 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-19 14:27:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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