Re: understanding apt-proxy
Chris Halls wrote:
On Fri, Aug 30, 2002 at 11:12:27AM -0700, Paul Scott wrote:
I have been trying to use apt-proxy but haven't successful because I
really don't know how it works. I have begun to read the 30 page
apt-proxy script and that may be the best way but I would sure
appreciate if anyone could either explain it in a few lines or point me
to a doc that does so.
zless /usr/share/doc/apt-proxy/README.gz
man apt-proxy
man apt-proxy.conf
man apt-proxy-import
I had read all of these except the import but I had done the import.
Often enough I find Linux documentations skips over or assumes
understanding that I don't have yet. Not that I don't appreciate all
that has been done.
In this case I may be closer than I think. For security I have:
add_backend /security/ \
$APT_PROXY_CACHE/security/ \
security.debian.org::debian-security/ \
non-us.debian.org::debian-security/
and from the client I get:
Failed to fetch
http://joy:9999/security.debian.org/dists/testing/updates/main/binary-i386/Packages
404 is not serviced by this server
Failed to fetch
http://joy:9999/security.debian.org/dists/testing/updates/main/binary-i386/Release
E
rror reading from server - read (104 Connection reset by peer)
Failed to fetch
http://joy:9999/security.debian.org/dists/testing/updates/contrib/binary-i386/Package
s 404 is not serviced by this server
Failed to fetch
http://joy:9999/security.debian.org/dists/testing/updates/contrib/binary-i386/Release
Error reading from server - read (104 Connection reset by peer)
Failed to fetch
http://joy:9999/security.debian.org/dists/testing/updates/non-free/binary-i386/Packag
es 404 is not serviced by this server
Failed to fetch
http://joy:9999/security.debian.org/dists/testing/updates/non-free/binary-i386/Releas
e Error reading from server - read (104 Connection reset by peer)
W: Couldn't stat source package list http://joy testing/updates/main
Packages (/var/lib/apt/lists/joy
:9999_security.debian.org_dists_testing_updates_main_binary-i386_Packages)
- stat (2 No such file or
directory)
W: Couldn't stat source package list http://joy testing/updates/contrib
Packages (/var/lib/apt/lists/
joy:9999_security.debian.org_dists_testing_updates_contrib_binary-i386_Packages)
- stat (2 No such fi
le or directory)
W: Couldn't stat source package list http://joy testing/updates/non-free
Packages (/var/lib/apt/lists
/joy:9999_security.debian.org_dists_testing_updates_non-free_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.
Other parts may be working.
Thanks,
Paul
Reply to: