Building a Local Debian Repository
You want to build a local package repository for your LAN to share?
A local repository is useful if you have many users sharing a low-bandwidth Internet connection; your Debian systems can grab packages from the local repository, rather than going out over the network.
How?
Use apt-proxy:
# apt-get install apt-proxy
apt-proxy starts up automatically after installation.
Next, edit the add_backend/debian/ section of /etc/apt-proxy/apt-proxy.conf so that it points to geographically close package mirrors. (See http://www.debian.org/mirror/list for a list of package mirrors.)
Now edit /etc/apt/sources.list on the client machines to point to the apt-proxy server. The default port is 9999:
deb http://ip-or-hostname:9999
Run apt-get update on the client machines, and you’re in business. Every time a client machine on your LAN installs a new program, it will be cached on the apt-proxy server. Subsequent requests for the same package will be served by the local cache. Very cool!

[…] eds, of megabytes. See for yourself in /var/cache/apt/archives. To conserve storage space, set up a local package cache for your network.
[…]
Pingback by Sandro T. Rafael Documentation Project :: Maintaining the Debian Package Cache :: April :: 2005 — April 11, 2005 @ 4:00 pm
testcomment319
Comment by testanchor91 — October 16, 2005 @ 2:54 am