[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to share the apt cache



On Thu, Jun 15, 2006 at 10:02:57AM -0300, Jorge Peixoto de Morais Neto wrote:

>    What is the "correct" way to share the apt cache? I think we should keep
>    /var/cache/apt/archives in the server and mount it with nfs in the other
>    computers. But I'm not shure this is the "correct" way; I don't know
>    enough about the behaviour of apt to be sure that this won't bring an
>    obscure problem. What should I do?

  nfs would work if you wanted to trust that.

  Rather than focussing on sharing the directory you might be better
 off instead setting up an installation of 'apt-proxy'.  Install
 that on one machine and then update all other machines to fetch
 their packages via it.

  It will act as a proxy + cache and avoid you downloading the 
 same packages from the internet more than once...

Steve
-- 
Debian GNU/Linux System Administration
http://www.debian-administration.org/



Reply to: