Creating a local RPM repository

Timothy Murphy gayleard at eircom.net
Wed Nov 11 11:28:38 UTC 2009


Bill Davidsen wrote:

>> Is all this a possible way of saving RPMs on a /common directory
>> served by NFS?
>> 
> Perhaps you missed my reply to this, <hd26d3$rpl$1 at ger.gmane.org>,
> indicating that I have been doing this and it works very well for me on
> FC11 and CentOS-5.[34] /var/cache/yum directories.
> 
>> I suspect I may have misunderstood the basics of yum ...
>> 
> If the post on shared cache isn't clear and you want to try it, I'll try
> to clarify. But it's really simple, just create a directory on a server,
> mount it rw on /var/cache/yum, and run update on one machine at a time.
> Any prm used on one machine is there for the others, and you never
> download a byte of data you don't need on *some* machine, so bandwidth is
> minimized.

Thanks for the response.
I'm away from home at the moment, so can't try what you suggest.
But I don't understand one point:
Isn't /var/cache/yum/updates/packages/ normally cleared after "yum update"?

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland




More information about the users mailing list