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.
If you read both of these you should be able to figure out the difference.
apt-proxy
apt-cacher
The apt-proxy is used to get packages from a remote machine. The apt-cacher is used to create a local proxy for packages.
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.