LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Exporting /var/cache/apt via NFS

[ILUG] Exporting /var/cache/apt via NFS

Kevin Philp kevin at cybercolloids.net
Wed Jun 11 16:23:32 IST 2008


Andrew,
Thanks - that's the killer I guessed was out there somewhere.

I have set up apt-proxy and it seems to be working fine so that's what 
we will be using.

Thanks for the help.

Kevin.



Andrew McCarthy wrote:
> 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
>   




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell