From: Keith E. <ke...@mi...> - 2004-01-25 20:08:25
|
I've spent the last couple of hours trying to set up apt-proxy(which I've never done before), and I _know_ I've done something silly but I can't work out what. The error I get: # apt-get update Err http://localhost stable/main Packages 503 Service Unavailable Ign http://localhost stable/main Release Err http://localhost stable/non-free Packages 503 Service Unavailable ...and so on... I can telnet to port 9999 OK, so it isn't an access problem. /etc/apt/sources.list: deb http://localhost:9999/main stable main non-free contrib deb-src http://localhost:9999/main stable main non-free contrib deb http://localhost:9999/non-US stable/non-US main contrib non-free deb-src http://localhost:9999/non-US stable/non-US main contrib non-free deb http://localhost:9999/security stable/updates main contrib non-free deb-src http://localhost:9999/security stable/updates main contrib non-free /etc/apt-proxy/apt-proxy.conf: APT_PROXY_CACHE=/var/cache/apt-proxy add_backend /main/ \ $APT_PROXY_CACHE/debian/ \ http://ftp.uk.debian.org/debian/ \ http://ftp.us.debian.org/debian/ \ http://ftp.de.debian.org/debian/ \ http://ftp2.de.debian.org/debian/ add_backend /non-US/ \ $APT_PROXY_CACHE/non-US/ \ http://ftp.uk.debian.org/debian/non-US/ \ http://ftp.de.debian.org/debian-non-US/ \ http://ftp2.de.debian.org/debian-non-US/ add_backend /security/ \ $APT_PROXY_CACHE/security/ \ http://security.debian.org/debian-security/ \ http://non-us.debian.org/debian-security/ CLEANUP_DAYS=30 MAX_VERSIONS=2 BACKEND_FREQ=240 RSYNC_TIMEOUT=30 WGET_TIMEOUT=30 KEEP_STATS=1 DEBUG=true Thanks, Keith |