[Yum] Re: yum upgrade to resolve obsoletes loops? (was: yum update)

Axel Thimm Axel.Thimm at physik.fu-berlin.de
Thu Aug 7 03:54:38 UTC 2003


On Wed, Aug 06, 2003 at 11:29:38PM -0400, seth vidal wrote:
> 
> > The problem is that those two packages are breaking integrity of
> > rpm repos, be it yum, apt or rpm -Fhv *.rpm. It is too bad this
> > slipped through in older RH.
> > 
> > What is yum's behaviour ("upgrade") in this case? Would it toggle the
> > packages at each yum upgrade? Can such obsolete-loops be detected and
> > the installed package preferred?
> > 
> > I know apt cannot :(
> > But yum could be smarter! :)
> 
> no, actually yum can't be smart - it would have to be a policy statement
> of 'if foo obsoletes bar and bar obsoletes foo, then foo always wins'

The policy I outlined above is to prefer whichever package is already
installed.

Maybe yum could remove obsoleted packages in its upgrade computation?
That way if neither foo nor bar are installed, they won't get in with
a yum upgrade, and if on is installed, it will not start toggling.
-- 
Axel.Thimm at physik.fu-berlin.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum/attachments/20030807/43fc217e/attachment-0001.pgp 


More information about the Yum mailing list