go to
> approx.conf(5)
> inetd(8)
> approx-import(8)
> approx-gc(8)
> apt-get(8)
Homepage > Man Pages > Category > Maintenance Commands
Homepage > Man Pages > Name > A


man page of approx

approx: proxy server for Debian archive files


approx - proxy server for Debian archive files


approx [OPTION]...


approx responds to HTTP requests made by apt-get(8). It maintains a cache of Debian archive files that have been previously downloaded, so that it can respond with a local copy when possible. If a file not in the cache is requested, approx will download it from a remote Debian repository and deliver the contents to the client, simultaneously caching it for future use. Over time, the approx server cache will grow to contain multiple, unneeded versions of Debian packages. The approx-gc(8) program removes these from the cache.
-c file, --config file Specify an additional configuration file. May be used multiple times.
approx is invoked by inetd(8).


Suppose that a client machine's /etc/apt/sources.list file contains the following lines: deb //apt:9999/debian testing main deb //apt:9999/security testing/updates main deb-src //apt:9999/debian unstable main In this example, apt is the hostname of the approx server machine on the local network. Each distribution, such as "debian" or "security", is mapped to a remote repository in the approx server's configuration file. For example, the approx.conf file on the approx server might contain the lines debian //ftp.debian.org/debian security //security.debian.org The mapping scheme is very simple. If the approx.conf file contains the line repository //remote-host/initial/path then any request to the approx server of the form //approx-server/repository/rest/of/URL is rewritten to //remote-host/initial/path/rest/of/URL when there is a "cache miss", and that file is cached as /var/cache/approx/repository/rest/of/URL (Note that the repository name on the left-hand side is not included in the rewritten URL unless it is explicitly mentioned in the right-hand side's initial path.)


/etc/approx/approx.conf Configuration file for approx and related programs. /var/cache/approx Default cache directory for archive files.


approx.conf(5), inetd(8), approx-import(8), approx-gc(8), apt-get(8), sources.list(5)


Eric Cooper <ecc@cmu.edu> May 2011 APPROX(8)

Copyright © 2011–2018 by topics-of-interest.com . All rights reserved. Hosted by all-inkl.
Contact · Imprint · Privacy

Page generated in 16.81ms.

brennholz-eichelberg.de | amazing-wings.de | holzspalter.name