On Thu, 2008-07-17 at 19:26 +0300, Muayyad AlSadi wrote: > > We want "yum install" to check the local repository before checking other mirror repositories. Is this possible? > yes, just give it a smaller cost in the .repo file > > cost=400 > > for example > [local-fedora-cache] > name=cache for fedora- i386 > failovermethod=priority > baseurl=file:///opt/cache/fedora/packages/ > enabled=1 > gpgcheck=0 > cost=400 the only problem is he wants yum to function even when not connected to the net. So, he has to make it so his repos won't fail to have any valid mirrors. so using cost on another mirror would work, if only he's willing to disable the other repos when not on the net. -sv _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxxxxx https://lists.dulug.duke.edu/mailman/listinfo/yum