Creating a local RPM repository

Patrick O'Callaghan pocallaghan at gmail.com
Sat Nov 7 15:15:14 UTC 2009


On Sat, 2009-11-07 at 14:56 +0000, Timothy Murphy wrote:
> Todd Zullinger wrote:
> 
> > Timothy Murphy wrote:
> >> But couldn't yum just have an option to look for RPMs on the local
> >> network?  Ie look first in local cache, then on LAN, then at remote
> >> repo.  I would have thought that would be easy to implement.
> > 
> > It's trivial to change the yum repo settings to look anywhere you
> > want.
> 
> Concretely, I want yum to look first in /var/cache/yum/updates on my laptop,
> then in alfred:/var/cache/yum/updates on a local machine,
> and then in the remote repository.
> 
> What exactly can I put in /etc/yum.repos.d/fedora-updates.repo 
> to implement this?

yum install yum-plugin-priorities

poc




More information about the users mailing list