Does anyone know the differences between apt-proxy and apt-cacher or know of a better package proxy cacher for Ubuntu? I used apt-proxy, but it hangs in weird places and gives me weird errors sometimes. It is written in python, Apt-cacher is Perl but seems to be more stable, but slower on updates. Anyone with other experience?
Use approx. I had continuous issues with apt-proxy, switching to approx solved all my problems.
I have used mod-proxy in apache to provide this service in the past. With proxy-cache, it seemed to work better than either of these solutions.
Squid with a cache may also do. There are the squid-deb-proxy package for caching, with squid-deb-proxy-client for cac autodiscovery of the cache.