[Yum-devel] requested 'protectbase', as used in yum 2.0
Paul Nasrat
pnasrat at redhat.com
Mon Mar 7 15:35:47 UTC 2005
On Mon, 2005-03-07 at 10:13 -0500, seth vidal wrote:
> > 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.
One thing to bear in mind when considering a plugin architecture is
prevention of namespace pollution.
firstboot modules have had issues in the past #143260
Paul
More information about the Yum-devel
mailing list