From: John H. <Joh...@tr...> - 2002-09-27 13:15:39
|
I am struggling to get apt-proxy 1.3.0 working on Woody. I have RTFM and = scanned the mailing list but am still stuck. My question is this: Do I have to do anything to "prime" the proxy server = to start with? My understanding of the documentation is that I don't, but I don't know = why apt-proxy is returning '404 is not serviced by this server' messages.=20 apt-proxy server sources.list contains: deb http://ftp.uk.debian.org/debian stable main contrib non-free deb http://ftp.uk.debian.org/debian-non-US stable/non-US main contrib = non-free deb http://security.debian.org stable/updates main contrib non-free apt-get update works OK as it returns: Hit http://ftp.uk.debian.org stable/main Packages Hit http://ftp.uk.debian.org stable/main Release Hit http://ftp.uk.debian.org stable/contrib Packages Hit http://ftp.uk.debian.org stable/contrib Release Hit http://ftp.uk.debian.org stable/non-free Packages Hit http://ftp.uk.debian.org stable/non-free Release Hit http://ftp.uk.debian.org stable/non-US/main Packages Hit http://ftp.uk.debian.org stable/non-US/main Release Hit http://ftp.uk.debian.org stable/non-US/contrib Packages Hit http://ftp.uk.debian.org stable/non-US/contrib Release Hit http://ftp.uk.debian.org stable/non-US/non-free Packages Hit http://ftp.uk.debian.org stable/non-US/non-free Release Hit http://security.debian.org stable/updates/main Packages Hit http://security.debian.org stable/updates/main Release Hit http://security.debian.org stable/updates/contrib Packages Hit http://security.debian.org stable/updates/contrib Release Hit http://security.debian.org stable/updates/non-free Packages Hit http://security.debian.org stable/updates/non-free Release I can also install new packages on the apt-proxy server, so I am assuming = my sources.list is correct. Debian client machine sources.list contains: deb http://my_apt_proxy_server:9999/debian stable main=20 When I try to run apt-get update I get: Script started on Fri Sep 27 12:53:01 2002 housden4:/etc/apt# apt-get update 0% [Working] =20 Err http://my_apt_proxy_server stable/main Packages 404 is not serviced by this server 0% [Working] =20 Ign http://my_apt_proxy_server stable/main Release =20 25% [Working] =20 Failed to fetch http://my_apt_proxy_server:9999/debian/dists/stable/main/bi= nary-i386/Packages 404 is not serviced by this server Reading Package Lists... 0% Reading Package Lists... 100% Reading Package Lists... Done Building Dependency Tree... 0% Building Dependency Tree... 0% Building Dependency Tree... 50% Building Dependency Tree... 50% Building Dependency Tree... Done W: Couldn't stat source package list http://my_apt_proxy_server stable/main= Packages (/var/lib/apt/lists/my_apt_proxy_server:9999_debian_dists_stable_= 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. housden4:/etc/apt#=20 Script done on Fri Sep 27 12:53:10 2002 I have replaced the real hostname above with my_apt_proxy_server to = protect the innocent! On the proxy server, there is nothing under /var/lib/apt/lists starting = with the servername - is this correct? Thanks in advance, John Housden ---- John Housden <joh...@tr...> Unix Support Analyst TRW Automotive, Westway House, Hither Green, Clevedon, North Somerset, BS21 6XU. Direct Tel: +44 1275 335342 Internal: x 2342 |
From: Chris H. <chr...@gm...> - 2002-09-27 18:51:07
|
Hi John, You need to edit /etc/apt-proxy/apt-proxy.conf. sources.list is only for apt, not for apt-proxy - the syntax is different. I would recommend you install version 1.3.3 (the version in unstable) - it has much improved documentation and works on Woody too. Chris |
From: Debian U. <j_h...@tp...> - 2002-10-04 10:23:15
|
Hi I have been trying to install kde3 via apt-proxy but am having been unable to get it to connect to a server when using kde3. My entry in the source.list file is #To get kde3 deb http://localhost:9999/kde3/ ./ #deb http://localhost:9999/debian-people/~njordan kde3.0/ While my entry in apt-proxy.conf is # KDE3 # deb http://APTPROXY:9999/kde3 ./ add_backend /kde3/ $APT_PROXY_CACHE/kde/ # http://kde3.geniussystems.net/debian http://people.debian.org/~schoepf/kde3/woody I can't seem to get it to connect through apt-proxy although it does work when I just put the source into the sources.list. I get a 500 bad configuration error. I am using the apt-proxy version from sid. Thanks for any help John |
From: Chris H. <chr...@gm...> - 2002-10-04 11:23:45
|
On Fri, Oct 04, 2002 at 08:24:42PM +1000, Debian User wrote: > While my entry in apt-proxy.conf is=20 >=20 > # KDE3 > # deb http://APTPROXY:9999/kde3 ./ > add_backend /kde3/ > $APT_PROXY_CACHE/kde/ > # http://kde3.geniussystems.net/debian > http://people.debian.org/~schoepf/kde3/woody apt-proxy.conf is a shell script, so you need to make sure that multi-line entries end with a backslash, you can't put a comment in the middle and URLs need to end in a slash. apt-proxy version 2 fixes these quirks but is still in alpha status. This is the correct syntax. I haven't checked if the backend path actually exists: --------------------- # KDE3 # deb http://APTPROXY:9999/kde3 ./ add_backend /kde3/ \ $APT_PROXY_CACHE/kde/ \ http://people.debian.org/~schoepf/kde3/woody/ # http://kde3.geniussystems.net/debian/ --------------------- Chris |