If you use an "apt" cache/proxy, which one?

Submitted by ajt on Fri 1 May 2009

 

Squid  <-> 43%497 votes
apt-proxy  <-> 14%173 votes
apt-cacher  <-> 12%144 votes
apt-cacher-ng  <-> 8%96 votes
approx  <-> 5%66 votes
debmirror  <-> 8%102 votes
Other  <-> 6%71 votes
Total 1154 votes

Posted by linulin (91.202.xx.xx) on Sat 2 May 2009 at 15:47
[ Send Message ]

apt-cacher, although I'm not quite happy with it.

Main issues:
* not reliable enough; sometimes requires manual killing of hanging process, (not that often to make this a blocker issue)
* introduces significant delay to 'aptitude update' compared to direct connection to a fast mirror; (does not really matter when your updates are handled by apticron)
* creates problems if DNS name of a mirror resolves to several physical hosts; (at least this was so about a year ago; and I use single-headed mirror since that time).
* makes some apt console output useless (actually, this is a problem of apt) when enabled via sources.list;
* breaks some apt-related stuff (apt-listbugs or 'aptitude changelog', IIRC) if used via Acquire::http::Proxy (to fix the previous issue).

So why do I still use it?
* I liked the idea and did not know about the above issues initially.
* Quite easy to configure.
* Have no time to evaluate other kinds of non-essential component while the currently used one works more or less well (provided you know the pitfalls).

--
...Bye..Dmitry.

[ Parent ]

Posted by Anonymous (2001:0xx:0xx:0xxx:0xxx:0xxx:xx) on Sat 2 May 2009 at 20:34
I also use apt-cacher since years, although I often have to stop the daemon and kill processes manually. I am still happy with it's simplicity in configuration, usage and it's cleanup script which deletes old packages. I tried more than once apt-cacher-ng, but the configuration and the documentation are really obscure to me!

[ Parent ]

Posted by Seraphyn (85.216.xx.xx) on Sat 9 May 2009 at 19:28
[ Send Message ]
Put this in your squid.conf:
###beginn
refresh_pattern deb$ 43200 100% 43200
refresh_pattern Packages.gz$ 1440 100% 1440
refresh_pattern Packages.bz2$ 1440 100% 1440
maximum_object_size 102400 KB
####END

than you cache debs.

Greetings Seraphyn

[ Parent ]

Posted by ajt (195.112.xx.xx) on Sun 3 May 2009 at 11:07
[ Send Message | View Weblogs ]

I use apt-cacher-ng. Originally I didn't worry about a cache, I've only got three machines and except at upgrade time there didn't seem to be any point. I then started to run a lot more systems in a VM and it started to be a pain waiting for the same debs to arrive over my painfully slow (by civilised standards) ADSL connection.

I considered approx as it's supposed to be easy to use and better than apt-cacher then I spotted apt-cacher-ng which is allegedly better again, so I gave that a try. It was dead easy to set up in Lenny and all was going well with Squeeze client but when I tried a Lenny client it fell over because of the volatile repositories. I then installed the Squeeze version on my Lenny box and it's been fine since. So far the demon has needed restarting once in a month. Not as stable as Apache but better than the original apt-cacher.

--
"It's Not Magic, It's Work"
Adam

[ Parent ]

Posted by Anonymous (88.248.xx.xx) on Mon 4 May 2009 at 07:02
Where is the "I have a Debian mirror next door" option? http://russell.cs.bilgi.edu.tr is just next room.

[ Parent ]

Posted by Anonymous (217.216.xx.xx) on Mon 4 May 2009 at 22:19
I'm using apt-p2p.

[ Parent ]

Posted by Anonymous (82.75.xx.xx) on Sat 9 May 2009 at 10:20
Me too ! :-)

It's a good way to lower traffic on the mirrors, although it might mean more over-sea's traffic, because I don't think debtorrent knowns anything about close peers are.

[ Parent ]

Posted by Anonymous (75.155.xx.xx) on Mon 25 May 2009 at 04:40
I've also used apt-mirror and the ftpsync program from http://www.debian.org/mirror/ftpmirror

Of the two, I think apt-mirror is currently my fav

[ Parent ]

Posted by Anonymous (195.214.xx.xx) on Thu 28 May 2009 at 11:23
Agree

[ Parent ]