Take the 2-minute tour ×
Server Fault is a question and answer site for professional 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
add comment

2 Answers

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
add comment

The /etc/network/if-up.d hook found here may be appropriate for some uses cases: http://askubuntu.com/questions/3503/best-way-to-cache-apt-downloads-on-a-lan#answer-25945

share|improve this answer
add comment

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.