Re: Problem sharing apt cache through NFS

Omar Kilani <[email protected]> Tue, 20 Jul 2004 20:07:16 +1000
Newsgroups gmane.linux.conectiva.apt-rpm
Message-ID <[email protected]>
Andre,

>>>Hi,
>>>
>>>this is more a basic UNIX question, but I am pretty sure you guys will
>>>be able to help me out with it: we would like to share
>>>/var/cache/apt/archives among a group of machines, with one of them
>>>acting as the "master repository" from which the rest would mount this
>>>directory, so that we would only need to download packages once.
>>>
>>>PS: Is there any better way of sharing apt-get downloads?
>>
>>http://apt-proxy.sourceforge.net/
>>
>>A normal caching proxy with a high caching limit for the file size could
>>work aswell.
> 
> 
> Thks for the tip, but I don't think that's worth the effort in my case
> (considering that these machines already mount volumes one from the
> other through NFS). I'd rather try a little further to put it to work
> with this...
> 
> Anyone knows if I can specify a different lockfile dir from the archives
> dir? That would do it for me, because I could point the lockfile dir to
> a local dir on the client machines, and keep accessing archives through
> NFS.

Is it possible to try:

Dir {
      State "/local/path/to/state/dir";
}

And see if that solves your problem?

> TIA
> 
> Andre

Omar