On Wed, Jun 11, 2008 at 01:25:29PM +0100, Kevin Philp wrote:
> I have a small office of machines running Ubuntu. When upgrading I would
> like to share the downloaded files so we don't download the same file
> over and over. apt-proxy is one possibility but can I just share
> /var/cache/apt over nfs? if I upgrade one machine at a time I shouldn't
> get any locking problems. Is this a sensible approach or fraught with
> problems I am unaware of?
If the network goes down during the upgrade (which can happen while
NetworkManager is being configured, I think) you'll be stuck. Best to
keep that directory local.
If you already have a squid proxy, you can just use that. Just make sure
(a) the sources.list is identical, and (b) squid's cache is big enough
and allowed to cache the large files.
There's also a nice-looking project call apt-zeroconf in which each
computer in the network shares a list of the packages it has already
downloaded, but it's still beta with the very occasional reliability
issue. I still use it though :)
http://trac.phidev.org/trac/wiki/AptZeroconf
Andrew
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!