Previous Section  < Day Day Up >  Next Section

Recipe 3.16. Adding Your Existing Package Cache to apt-proxy.conf

3.16.1 Problem

You already have a sizeable .deb cache on your apt-proxy server, and you would like apt-proxy to use it instead of downloading everything all over again.

3.16.2 Solution

First run apt-get update on at least one client machine to initialize the cache. Then, on the server, run:

# apt-proxy-import -d /var/cache/apt/archives

And you're done.

3.16.3 See Also

    Previous Section  < Day Day Up >  Next Section