[nzlug] Apt-proxy - anyone with any experience?

Scott Newton scottn at ihug.co.nz
Thu May 10 08:36:01 NZST 2007


On Tue, 08 May 2007, Nevyn wrote:
> Does anyone here use apt-proxy?

Here is my apt-proxy-v2.conf file and the shell I use to import keys into 
apt - hope it helps to get you going.

-- 
Regards
Scott Newton
-------------- next part --------------
[DEFAULT]
;; All times are in seconds, but you can add a suffix
;; for minutes(m), hours(h) or days(d)

;; Server IP to listen on
address = 192.168.1.5	

;; Server port to listen on
port = 9009

;; Control files (Packages/Sources/Contents) refresh rate
;;
;; Minimum time between attempts to refresh a file
min_refresh_delay = 1h

;; Minimum age of a file before attempting an update (NOT YET IMPLEMENTED)
;min_age = 23h

;; Uncomment to make apt-proxy continue downloading even if all
;; clients disconnect.  This is probably not a good idea on a
;; dial up line.
;; complete_clientless_downloads = 1

;; Debugging settings.
;; for all debug information use this:
;; debug = all:9
debug = all:4 db:0

;; Debugging remote python console
;; Do not enable in an untrusted environment
;telnet_port = 9998
;telnet_user = apt-proxy
;telnet_password = secret

;; Network timeout when retrieving from backend servers
timeout = 15

;; Cache directory for apt-proxy
;;cache_dir = /var/cache/apt-proxy
cache_dir = /kolab/var/apt-proxy

;; Use passive FTP? (default=on)
;passive_ftp = on

;; Use HTTP proxy?
;http_proxy = 192.168.1.4:3128

;; Enable HTTP pipelining within apt-proxy (for test purposes)
;disable_pipelining=0

;;--------------------------------------------------------------
;; Cache housekeeping

;; Time to perform periodic housekeeping:
;;  - delete files that have not been accessed in max_age
;;  - scan cache directories and update internal tables
cleanup_freq = 1d

;; Maximum age of files before deletion from the cache (seconds)
max_age = 120d

;; Maximum number of versions of a .deb to keep per distribution
max_versions = 3

;; Add HTTP backends dynamicaly if not already defined? (default=on)
;dynamic_backends = on

;;---------------------------------------------------------------
;;---------------------------------------------------------------
;; Backend servers
;;
;; Place each server in its own [section]
;; Debian:
;; http://ftp.tranzpeer.net/debian
;; http://ftp.citylink.co.nz/debian
;; http://packages.debian.co.nz/debian
;; http://ftp.nz.debian.org/debian
;; Debian-non-US
;; http://ftp.tranzpeer.net/debian-non-US
;; http://ftp.citylink.co.nz/debian-non-US
;; http://packages.debian.co.nz/debian-non-US
;; http://ftp.nz.debian.org/debian-non-US

[debian]
backends =
	http://packages.debian.co.nz/debian

[debian-non-US]
backends =
	http://packages.debian.co.nz/debian-non-US

[debian-security]
backends =
	http://security.debian.org/debian-security

[debian-volatile]
backends =
	http://volatile.debian.net/debian-volatile

[ubuntu]
backends =
	http://nz.archive.ubuntu.com/ubuntu

[ubuntu-security]
backends =
	http://security.ubuntu.com/ubuntu

[apt-proxy]
backends = 
	http://apt-proxy.sourceforge.net/apt-proxy

[scribus]
backends =
	http://debian.scribus.net/debian

[kde-353]
backends =
	http://kubuntu.org/packages/kde-353

[kde-354]
backends =
	http://kubuntu.org/packages/kde-354

[kde-355]
backends =
	http://kubuntu.org/packages/kde-355

[kde-356]
backends =
	http://kubuntu.org/packages/kde-356

[koffice-151]
backends =
	http://kubuntu.org/packages/koffice-151

[koffice-160]
backends = 
	http://kubuntu.org/packages/koffice-16

[koffice-161]
backends = 
	http://kubuntu.org/packages/koffice-161


More information about the NZLUG mailing list