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

Florian La Roche laroche at redhat.com
Tue Jun 19 12:18:14 UTC 2007


On Tue, Jun 19, 2007 at 01:48:24PM +0300, Panu Matilainen wrote:
> 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.


Hello Panu,

I've changed my mind on this. For compat packages the fix in
4.4.2.1 will be good. Not so good to see a bigger change in
behaviour within rpm4 releases, but the right step here.

regards,

Florian La Roche




More information about the Rpm-maint mailing list