At 12:04 PM -0300 6/26/06, Marcelo Magno T. Sales wrote: >Hi, > >Em Domingo 25 Junho 2006 13:10, Chris Bradford escreveu: >> That's done it! >> >> Are there any problems mixing freshrpms with livna? This is why I have >> not added freshrpms until now... > >This can be solved by installing the protectbase yum plugin (yum install >yum-protectbase). Setup core, extras, updates and livna as protected >repositories. This way, they won't be overridden by freshrpms and other >rpmforge repositories you may want to use. >However, there's a bug in yum which prevents protectbase to work as it >should. >The current version of yum does not process repository options for plugins. >To correct it, do the following: > >1. Open the file /sr/lib/python2.4/site-packages/yum/plugins.py >2. Locate the following code > >(1) # Process repository level options >(2) for repo in repos: >(3) for name, (vtype, where, default) in self.opts.iteritems(): >(4) if where in (PLUG_OPT_WHERE_REPO, PLUG_OPT_WHERE_ALL): >(5) val = config.getOption(conf.cfg, repo.id, name, default, >(6) type2opt[vtype]) >(7) repo.set(name, val) > >3. In line (5), replace conf.cfg with repo.cfg (for me, this is line 301 in >the file) > >The protectbase plugin should work correctly after fixing plugins.py. Bug number? ____________________________________________________________________ TonyN.:' <mailto:tonynelson@xxxxxxxxxxxxxxxxx> ' <http://www.georgeanelson.com/>