Recommendations for APT caching software for Ubuntu?

Hi folks, What do folks feel works well for them for a running a local apt-cache? I want to avoid having to download apt packages for my various Kubuntu machines for speed rather than quota reasons. cheers! Chris -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC This email may come with a PGP signature as a file. Do not panic. For more info see: http://en.wikipedia.org/wiki/OpenPGP

I've been using apt-cacher-ng on my home server for a few months. No complaints. http://www.ubuntugeek.com/apt-cacher-ng-http-download-proxy-for-software-pac... On 4 September 2013 19:24, Chris Samuel <chris@csamuel.org> wrote:
Hi folks,
What do folks feel works well for them for a running a local apt-cache?
I want to avoid having to download apt packages for my various Kubuntu machines for speed rather than quota reasons.
cheers! Chris -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC
This email may come with a PGP signature as a file. Do not panic. For more info see: http://en.wikipedia.org/wiki/OpenPGP
_______________________________________________ luv-main mailing list luv-main@luv.asn.au http://lists.luv.asn.au/listinfo/luv-main

On Wed, 4 Sep 2013 10:16:15 PM thelionroars wrote:
I've been using apt-cacher-ng on my home server for a few months. No complaints.
Great, thanks! Trying it out now. :-) Hmm, anyone know a way to let it be used from the Kubuntu installer? :-) cheers! Chris -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC This email may come with a PGP signature as a file. Do not panic. For more info see: http://en.wikipedia.org/wiki/OpenPGP

On 4 September 2013 13:16, thelionroars <thelionroars1337@gmail.com> wrote:
I've been using apt-cacher-ng on my home server for a few months. No complaints.
The version that ships with Debian squeeze, at least, crashes frequently under heavy load. Highly annoying. I haven't tried the more recent and probably better-patched version that ships with Ubuntus or even Wheezy, but we'll upgrade to them one of these days and find out.
On 4 September 2013 19:24, Chris Samuel <chris@csamuel.org> wrote:
Hi folks,
What do folks feel works well for them for a running a local apt-cache?
I want to avoid having to download apt packages for my various Kubuntu machines for speed rather than quota reasons.
cheers! Chris -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC
This email may come with a PGP signature as a file. Do not panic. For more info see: http://en.wikipedia.org/wiki/OpenPGP
_______________________________________________ luv-main mailing list luv-main@luv.asn.au http://lists.luv.asn.au/listinfo/luv-main
_______________________________________________ luv-main mailing list luv-main@luv.asn.au http://lists.luv.asn.au/listinfo/luv-main
-- Turning and turning in the widening gyre The falcon cannot hear the falconer Things fall apart; the center cannot hold Mere anarchy is loosed upon the world

On Fri, 6 Sep 2013 01:34:59 PM Toby Corkindale wrote:
The version that ships with Debian squeeze, at least, crashes frequently under heavy load. Highly annoying. I haven't tried the more recent and probably better-patched version that ships with Ubuntus or even Wheezy, but we'll upgrade to them one of these days and find out.
The version on my Mythbuntu 12.10 box seems to be coping fine. It's not a heavy load though. ;-) cheers! Chris -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC This email may come with a PGP signature as a file. Do not panic. For more info see: http://en.wikipedia.org/wiki/OpenPGP

On Wed, 4 Sep 2013, Chris Samuel wrote:
Hi folks,
What do folks feel works well for them for a running a local apt-cache?
I want to avoid having to download apt packages for my various Kubuntu machines for speed rather than quota reasons.
nfs fs:/var/cache/apt/archives Unfortunately, you can't do anything in parallel because of lockfiles. Yes, this was an upgrade from apt-cacher, apt-cacher-ng, mrepo, and another one that I can't recall, and ilk. They all suffer from various problems related to cache coherency/invalidation etc. I even gave up on squid (for .deb storing) for reasons that I can't recall. For different arches, and to keep package versions around forever, and if ubuntu is anything like debian, be sure to comment out all the autoclean/clean stuff in /etc/cron-apt/action.d/3-download, and set in /etc/apt/apt.conf: APT::APT::Clean-Installed off; -- Tim Connors

Chris Samuel <chris@csamuel.org> writes:
What do folks feel works well for them for a running a local apt-cache?
IME cachers fail in exciting ways, often security-related. Allegedly apt-cacher-ng (mentioned elsethread) is better; it didn't exist last time I used one. I instead use debmirror, which mirrors the entire repo (or a subset thereof) in advance, and then to clients it just looks like an ordinary http:// or file:/// repo. I routinely do PXE installs from it, both Ubuntu and Debian. The only problem I've had is that I'm mirroring from Internode (so it's unmetered), and *Internode's* repo is routinely broken these days, because they're using rsync instead of Debian's recommended ftpsync script. Oh, also obviously it downloads several hundred megabytes a day, which is a downside.
participants (5)
-
Chris Samuel
-
thelionroars
-
Tim Connors
-
Toby Corkindale
-
trentbuck@gmail.com