Creating a local RPM repository
Bill Davidsen
davidsen at tmr.com
Wed Nov 11 21:29:31 UTC 2009
Timothy Murphy wrote:
> 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"?
>
See the original post, which noted that /etc/yum.conf needs keepcache set to 1.
--
Bill Davidsen <davidsen at tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
More information about the fedora-list
mailing list