On Thu, 1 May 2014, Toby Corkindale wrote: > On 30 April 2014 18:46, Trent W. Buck <[email protected]> wrote: > > Toby Corkindale <[email protected]> writes: > > > >> Hi, > >> Linux distros using the apt package management system tend to cache > >> downloaded packages in /var/cache/apt/archives/ > >> > >> If you have many very similar machines set up, then you'll almost > >> certainly have a HTTP proxy cache setup for them to retrieve packages > >> through, to reduce huge duplication of downloads. > >> > >> This essentially obsoletes the /var/cache/apt/archives, though. And > >> when you're running dozens of virtual machines, it'd be nice to avoid > >> storing all these duplicate files. > >> > >> What's the right way to disable it? > >> I see I can adjust the max size and age via the > >> APT::Archives::Max{Age,Size} parameters, but what about just turning > >> it off altogether? > > > > PS: if you use NFS instead of HTTP (thus, file: in sources.list), > > it won't cache locally. > > I'm not sure how that helps, unless I'm maintaining an actual debian > mirror locally? (As opposed to just caching the much smaller subset of > files that my servers use)
I just share /var/cache/apt/archives by nfs between all my systems (and make sure you don't update 2 hosts at once unless they're different arches). -- Tim Connors _______________________________________________ luv-main mailing list [email protected] http://lists.luv.asn.au/listinfo/luv-main
