From: Jay S. <me...@he...> - 2004-09-19 19:05:41
|
Hi, I'm feeling like a nob, but I can't get this to work. In the past, I've = had apt-proxy v1 working, but that machine is long gone so I can't copy from = it. I'm running apt-proxy on a debian Sarge machine, and I'm trying to = access the proxy from a Sarge machine (fresh install last night) I'm getting the following error: laptop:~# apt-get update Err http://pt testing/main Packages 404 is not serviced by this server Ign http://pt testing/main Release Err http://pt testing/main Sources 404 is not serviced by this server Ign http://pt testing/main Release Failed to fetch = http://pt:9999/dists/testing/main/binary-i386/Packages.gz 404 is not = serviced by this server Failed to fetch http://pt:9999/dists/testing/main/source/Sources.gz 404 = is not serviced by this server Reading Package Lists... Done W: Couldn't stat source package list http://pt testing/main Packages = (/var/lib/apt/lists/pt:9999_dists_testing_main_binary-i386_Packages) - = stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems E: Some index files failed to download, they have been ignored, or old = ones used instead. I know apt-proxy is listening on 9999 since I can telnet to it. Below = are my=20 config files. Hoping for some help, because I'm stuck.=20 Thanks Jay my client, sources.list: laptop:~# cat /etc/apt/sources.list deb http://pt:9999 testing main deb-src http://pt:9999 testing main #deb http://security.debian.org/ testing/updates main my server's /etc/apt-proxy/apt-proxy.conf APT_PROXY_CACHE=3D/var/cache/apt-proxy add_backend /main/ \ $APT_PROXY_CACHE/debian/ \ ftp.us.debian.org::debian/ \ ftp.de.debian.org::debian/ \ ftp2.de.debian.org::debian/ \ ftp.uk.debian.org::debian/ add_backend /non-US/ \ $APT_PROXY_CACHE/non-US/ \ ftp.de.debian.org::debian-non-US/ \ ftp2.de.debian.org::debian-non-US/ \ ftp.uk.debian.org::debian/non-US/ add_backend /security/ \ $APT_PROXY_CACHE/security/ \ security.debian.org::debian-security/ \ non-us.debian.org::debian-security/ CLEANUP_DAYS=3D14 CLEAN_SWEEP=3D60 MAX_VERSIONS=3D2 BACKEND_FREQ=3D240 RSYNC_TIMEOUT=3D30 WGET_TIMEOUT=3D30 |