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

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

2 Answers 2

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.