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

 < Day Day Up > 

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

  • apt-proxy(8), apt-proxy.conf(5), apt-proxy-import(8)

  • The official Debian mirrors list (http://www.debian.org/mirror/)

  • apt-proxy home page (http://apt-proxy.sourceforge.net)

     < Day Day Up > 


    Linux Cookbook
    Linux Cookbook
    ISBN: 0596006403
    EAN: 2147483647
    Year: 2004
    Pages: 434

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net