[Rpm-maint] [Suse-patch] Revert provides as obsoletes behavior

Panu Matilainen pmatilai at redhat.com
Tue Jun 19 10:48:24 UTC 2007


On Tue, 19 Jun 2007, Michael Schroeder wrote:

> On Tue, Jun 19, 2007 at 12:39:54AM +0200, Michael Schroeder wrote:
>> On Mon, Jun 18, 2007 at 01:58:47PM +0200, Florian Festi wrote:
>>> Why updates should not be treated as obsoletes of the pkg name can be
>>> easily seen at the example already mentioned earlier.
>>>
>>> python-2.4 (virtual provides python = 2.4)
>>> python22 provides python = 2.2
>>>
>>> rpm -Uvh python-2.5-1.rpm
>>> removes both of the packages above.
>>
>> Maybe, but look at Fedora's python package. It contains:
>>
>> python-2.4.2:
>>   Provides: python2 = 2.4.2
>>   Obsoletes: python2
>>
>> python22 will probably also contain:
>>   Provides: python2 = 2.2
>>
>> Now installung python-2.5-1 also removes both packages.
>
> Too much copy'n'paste. It should read:
>
> Now installung python-2.4.2 removes python22.

Yup, and it's just insane behavior.

I'm hereby declaring the current behavior as a longstanding bug, now fixed 
in rpm.org tree and will be in 4.4.2.1.

 	- Panu -



More information about the Rpm-maint mailing list