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?

  • 2
    My experience mirrors your own. apt-proxy is somewhat buggy and hangs. Apt-cacher seems to be slower. I am almost the point that I was thinking it would be easier to just mirror the entire x86 portion of the repository. – Zoredache Aug 18 '10 at 18:06

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.



The apt-proxy is used to get packages from a remote machine. The apt-cacher is used to create a local proxy for packages.

  • 1
    If you read those, you will see both programs fulfill almost the exact same function. The possibility I see is that apt-cacher does not cache the update files (the files fetched during an update), whereas apt-proxy does. – Amala Aug 18 '10 at 15:50
  • They do appear to serve the same function but are meant for different applications. – jer.salamon Aug 18 '10 at 21:26
  • What are the different applications? From what I have read they appear to fulfill exactly the same function, apt-cacher seems to be a apt-proxy replacement – Amala Aug 20 '10 at 12:34

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.

  • Setting up a apache to proxy seemed to complicated, but makes sense that it worked the best since it has built in modules. I see some pages with instructions, I may try that – Amala Aug 20 '10 at 12:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.