Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I configure the apt-cacher-ng clients so that when the cacher server is not available, clients can go fetch the packages from the internet?


share|improve this question
up vote 1 down vote accepted

After all the research I found out the only way out is proxy + cacher (Eg: squid + apt-cacher-ng)

share|improve this answer
Can you tell us what you have found? Other users will benefit from it and possibly improve it. – Khaled Jan 24 '11 at 7:50

The /etc/network/if-up.d hook found here may be appropriate for some uses cases:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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