Last night I installed apt-proxy on my Woody system. It doesn't work. I have
searched the debian-user archives, the apt-proxy-user archives, and done a
general Google search, but I still can't figure this out. The only relevant
discussions I found were in German and my German is a bit rusty (read: I can't
read German at all).

This is the error I get when I run apt-get update:

(from the Woody box)
Err [url]http://localhost[/url] stable/updates/main Packages
Connection failed

(from the Unstable box)
Err [url]http://P-Pro-200[/url] unstable/main Packages
Connection failed

Of course, the errors repeat for each sources.list module entry. Also,
I logged into the proxy machine in two seperate terminals and then ran apt-get
update from both the local Woody machine and the Unstable machine and did a
ps -A numerous times, and tcpd runs, but apt-proxy does not.

Also, nothing at all shows up in the log file.

Any help would be greatly appreciated.

-Roberto

Here is the entry from /etc/inetd.conf:

9999 stream tcp nowait.400 aptproxy

/usr/sbin/tcpd /usr/sbin/apt-proxy -c /etc/apt-proxy/apt-proxy.conf -l
/var/log/apt-proxy.log

Here is my /etc/apt-proxy/apt-proxy.conf:

APT_PROXY_CACHE=/var/cache/apt-proxy

add_backend /main/ \
$APT_PROXY_CACHE/debian/ \
[url]http://ftp.us.debian.org/debian/[/url] \
[url]http://linux.csua.berkeley.edu/debian/[/url] \
[url]http://lyre.mit.edu/debian/[/url] \
[url]http://debian.rutgers.edu/[/url]

add_backend /debian-non-US/ \
$APT_PROXY_CACHE/debian-non-US/ \
[url]http://non-us.debian.org/[/url] \
[url]http://ftp.de.debian.org/debian-non-US/[/url] \
[url]http://ftp.uk.debian.org/debian-non-US/[/url]

add_backend /security/ \
$APT_PROXY_CACHE/security/ \
[url]http://security.debian.org/[/url] \
[url]http://non-us.debian.org/debian-security/[/url]

add_backend /marillat/ \
$APT_PROXY_CACHE/marillat/ \
[url]http://marillat.free.fr/[/url]

CLEANUP_DAYS=14
CLEAN_SWEEP=60
MAX_VERSIONS=2
BACKEND_FREQ=240
RSYNC_TIMEOUT=30
WGET_TIMEOUT=30

The /etc/apt/sources.list from my Woody box:

deb [url]http://localhost:9999/security[/url] stable/updates main
deb-src [url]http://localhost:9999/security[/url] stable/updates main
deb [url]http://localhost:9999/main[/url] stable main non-free contrib
deb-src [url]http://localhost:9999/main[/url] stable main non-free contrib
deb [url]http://localhost:9999/debian-non-US[/url] stable/non-US main contrib non-free
deb-src [url]http://localhost:9999/debian-non-US[/url] stable/non-US main contrib non-free

The /etc/apt/sources.list from my Unstabe box behind the Woody box:

deb [url]http://P-Pro-200:9999/main[/url] unstable main non-free contrib
deb-src [url]http://P-Pro-200:9999/main[/url] unstable main non-free contrib
deb [url]http://P-Pro-200:9999/main[/url] testing main non-free contrib
deb-src [url]http://P-Pro-200:9999/main[/url] testing main non-free contrib
deb [url]http://P-Pro-200:9999/debian-non-US[/url] unstable/non-US main contrib non-free
deb-src [url]http://P-Pro-200:9999/debian-non-US[/url] unstable/non-US main contrib
non-free
deb [url]http://P-Pro-200:9999/marillat[/url] unstable main


__________________________________________________ _
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
[url]http://messenger.yahoo.es[/url]


--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]