Re: Need help with local devel repo optimization for mock...

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

 



On Fri, 2006-03-31 at 11:40 +0100, Paul Howarth wrote:
> Tim Lauridsen wrote:
> > You could try something like this.
> > 
> > [core]
> > name=core
> > baseurl=file:///data/sw1/fedora/core/development/i386
> >              
> > http://newmirror.linux.duke.edu/pub/fedora/linux/core/development/i386
> > failovermethod=priority
> > 
> > The failovermethod=priority make yum always try using the baseurls from 
> > the top.
> 
> That's what I thought of too, but won't this just cause 
> newmirror.linux.duke.edu to be ignored completely if the local repo is 
> available?

This will work if you update your local copy of the repo metadata daily.
If you didn't update the metadata then yes, the remote mirror would be
completely ignored.  If you update the metatdata, yum will not find the
new RPMs that are referenced in the new metadata in your local repo and
would then fail over to the remote repo.  RPMs that hadn't been updated
would be found in the local repo.

Jeff

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux