[Yum-devel] requested 'protectbase', as used in yum 2.0

seth vidal skvidal at phy.duke.edu
Mon Mar 7 15:13:40 UTC 2005


> What should happen when you do a yum update?  Should you keep the 
> current rpm, or go to the 'preferred' repo?  And if you say you should 
> go to the 'preferred' repo, you'll have to have some way to know what 
> repo the current copy came from.
> 
> There is the possibility of doing a heuristic where you see the 
> installed 'foo' header matches the 'foo' header from repo1, so you 
> assume that the installed copy came from repo1.  However, someone may 
> have installed that rpm outside of yum and want to keep it.  Likewise, 
> the maintainer for repo1 may have removed 'foo' from his repo altogether.

I'm beginning to think that doing plugins as menno, panu and gijs want
might be the only way to keep insanity like you mention above OUT of the
base yum code.

-sv





More information about the Yum-devel mailing list