[Rpm-maint] [Suse-patch] Revert provides as obsoletes behavior
Tomas Mraz
tmraz at redhat.com
Tue Jun 12 14:06:44 UTC 2007
On Tue, 2007-06-12 at 15:56 +0200, Michael Schroeder wrote:
> On Tue, Jun 12, 2007 at 03:49:25PM +0200, Florian Festi wrote:
> > After having a look at the code it is quite clear what's the problem here:
> >
> > The first line is causing most of the problems as it treats the updated
> > package like an obsolete on its own name. This is obviously bullshit as rpm
> > -U foobar should only remove packages named foobar and packages explicitly
> > obsoleted by the new package.
>
> It's not "obviously bullshit". Obsoletes tells rpm that the package
> provides a newer version of something. The same thing happens if you
> install a new version of a package. If package A provides B and
> you install a new version of B, it is not obviously bullshit if
> A gets deleted, as A is no longer needed and B is newer. It's
> just unexpected.
That's really debatable as the provides is M:N relationship - a package
A might provide many virtual provides and after this update some of
these provides might not be provided anymore by any package. So it
surely can be argued both ways.
--
Tomas Mraz
No matter how far down the wrong road you've gone, turn back.
Turkish proverb
More information about the Rpm-maint
mailing list