[Yum] Re: 'Redundant' repositories?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2003-03-24 at 17:12, Axel Thimm wrote:
> On Mon, Mar 24, 2003 at 07:00:50AM -0500, seth vidal wrote:
> > On Mon, 2003-03-24 at 05:02, Axel Thimm wrote:
> > > yum does handle multiple repositories, but how does it choose which one to use
> > > when the rpm to be installed is the same on both? I'd like to setup copies of
> > > repositores in such a way that file:// repositories are preferred to http://
> > > ones. Unfortunately it always seem to pick http:// if both are present. I
> > > tried to change order in yum.conf, but that didn't help.
> > 
> > 
> > read the man page about pkgpolicy=last
> > 
> > It sorts them and you can reorder them based on that ordering.

Actually, I did some more thinking about this.

it wouldn't be that hard to implement actually.
you could assign a manual score to a repo in the yum.conf file and have
automatic +1 or +2 for file vs http vs whatever

or +1 if gpgcheck is on or whatever.

and it'd actually be simple to implement - but I'm not sure I have time
to do it right now.

If you're interested take a look at clientStuff.HeaderInfoNevralLoad()

-sv




[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux