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

Michael Schroeder mls at suse.de
Mon Jun 18 22:39:54 UTC 2007

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:

  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.


Michael Schroeder                                   mls at suse.de
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg

More information about the Rpm-maint mailing list