Creating a local RPM repository
Timothy Murphy
gayleard at eircom.net
Wed Nov 11 22:23:06 UTC 2009
Bill Davidsen wrote:
>>> 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"?
>>
> See the original post, which noted that /etc/yum.conf needs keepcache set
> to 1.
Ok, thanks, I missed that.
Must have fallen into the sea somewhere between Ireland and Italy.
I suppose you just have to clear the cache every now and then?
How do you do that, as a matter of interest?
--
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 fedora-list
mailing list