Re: How to build a local yum update server??

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

 



On Sun, 3 Jul 2005 09:26:46 -0400, Matthew Miller wrote:

> On Sat, Jul 02, 2005 at 07:53:01PM +0200, Michael Schwendt wrote:
> > One idea would be that file:// type repositories would be preferred
> > when downloading a package. Alternatively, any repository, which is
> > given a high priority, would be the preferred source when downloading
> > a package. So a package, which is in a "local" repository, would
> > never be downloaded from an remote repository. How would this be used?
> > You "yum --enablerepo=updates-released --enablerepo=updates-mirrored",
> > and no update package found in updates-mirrored would ever be
> > downloaded from updates-released. A bit like treating local repos
> > as a read-only cache.
> 
> What if there's a newer version of the package in a lower-priority repo?

Simple question, simple answer: newer package will be downloaded unless
user disables the repository where it's found.

Or is there any concept like "first come, first served" for yum.conf
or yum.repos.d/*.repo?

Remember, this is about "cost of download", not about features as provided
by smartpm. This is about using local repositories as cache in order to
avoid network access as much as possible and without the need to fill up
/var/cache/yum.

-- 
Michael Schwendt <mschwendt@xxxxxxxxxxxx>
Fedora Core release 5 (Development) - Linux 2.6.12-1.1400_FC5
loadavg: 1.01 1.08 1.02


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux