From: Roland G. <rol...@me...> - 2002-09-12 03:33:17
|
You mention that this is your second Debian box - was that sources.list file from the second box? If so, you need to replace localhost with the name of your first box (which is running apt-proxy). I hope this helps. Cheers, Roland. -- Tell me and I'll forget; show me and I may remember; involve me and I'll understand - Chinese Proverb. > -----Original Message----- > From: Michael West [mailto:we...@mi...] > Sent: Thursday, 12 September 2002 1:02 PM > To: apt...@li... > Subject: [Apt-proxy-users] 404 is not serviced by this server > > > I am just about to set up my second debian box and am > trying to get > apt-proxy working for the first time. I am unable to > successfully > run `apt-get update` I am running woody. > > I am using the default apt-proxy.conf which came with > the package. > From the apt-proxy.conf man page "The supplied > apt-proxy.conf will > work out of the box" > > I am using the sources.list from the apt-proxy.conf man page for > testing. > > deb http://localhost:9999/debian woody main non-free contrib > deb-src http://localhost:9999/debian woody main non-free contrib > > netstat shows listening on 9999: > > tcp 0 0 *:9999 *:* LISTEN > > When I run apt-get update I get: > > ------------------- > > Err http://localhost woody/main Packages > 404 is not serviced by this server > Ign http://localhost woody/main Release > Err http://localhost woody/non-free Packages > 404 is not serviced by this server > Ign http://localhost woody/non-free Release > Err http://localhost woody/contrib Packages > 404 is not serviced by this server > Ign http://localhost woody/contrib Release > Err http://localhost woody/main Sources > 404 is not serviced by this server > Ign http://localhost woody/main Release > Err http://localhost woody/non-free Sources > 404 is not serviced by this server > Ign http://localhost woody/non-free Release > Err http://localhost woody/contrib Sources > 404 is not serviced by this server > Ign http://localhost woody/contrib Release > led to fetch > http://localhost:9999/debian/dists/woody/main/binary-i386/Pack > ages 404 > is not serviced by this server > Failed to fetch > http://localhost:9999/debian/dists/woody/non-free/binary-i386/Packages > 404 is not serviced by this server > Failed to fetch > http://localhost:9999/debian/dists/woody/contrib/binary-i386/Packages > 404 is not serviced by this server > Failed to fetch > http://localhost:9999/debian/dists/woody/main/source/Sources > 404 is not > serviced by this server > Failed to fetch > http://localhost:9999/debian/dists/woody/non-free/source/Sourc es 404 is not serviced by this server Failed to fetch http://localhost:9999/debian/dists/woody/contrib/source/Sources 404 is not serviced by this server Reading Package Lists... Done Building Dependency Tree... Done W: Couldn't stat source package list http://localhost woody/main Packages (/var/lib/apt/lists/localhost:9999_debian_dists_woody_main_binary-i386_Packa ges) - stat (2 No such file or directory) W: Couldn't stat source package list http://localhost woody/non-free Packages (/var/lib/apt/lists/localhost:9999_debian_dists_woody_non-free_binary-i386_P ackages) - stat (2 No such file or directory) W: Couldn't stat source package list http://localhost woody/contrib Packages (/var/lib/apt/lists/localhost:9999_debian_dists_woody_contrib_binary-i386_Pa ckages) - 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. ------------------- Any ideas on how to get started with apt-proxy for me? ~Michael ------------------------------------------------------- In remembrance www.osdn.com/911/ _______________________________________________ Apt-proxy-users mailing list Apt...@li... https://lists.sourceforge.net/lists/listinfo/apt-proxy-users |
From: Roland G. <rol...@me...> - 2002-09-12 05:09:23
|
Hi Michael, Your /etc/apt/sources.list looks similar to mine: # woody - stable deb http://localhost:9999/debian woody main contrib non-free deb http://localhost:9999/non-US woody/non-US main contrib non-free deb http://localhost:9999/security woody/updates main contrib non-free When I debug problem with apt-proxy, I comment out these lines and try something very simple like: deb http://localhost:9999/debian woody main This way it's easier to understand the output of apt-get and the apt-proxy log. I've been using apt-proxy for a while now and have customised my apt-proxy.conf file. I'm not sure what is contained in the current default apt-proxy.conf file but mine contains: add_backend /debian/ \ $APT_PROXY_CACHE/debian/ \ ftp.au.debian.org::debian/ \ ftp.debian.org::debian/ add_backend /non-US/ \ $APT_PROXY_CACHE/non-US/ \ ftp.au.debian.org::debian-non-us/ \ non-us.debian.org::debian-non-US/ add_backend /security/ \ $APT_PROXY_CACHE/security/ \ ftp.au.debian.org::debian-security/ \ security.debian.org::debian-security/ \ non-us.debian.org::debian-security/ An important issue here is that you can't have comments in a add_backend statement. What is in your /var/log/apt-proxy.log? Cheers, Roland. -- Tell me and I'll forget; show me and I may remember; involve me and I'll understand - Chinese Proverb. > -----Original Message----- > From: Michael West [mailto:we...@mi...] > Sent: Thursday, 12 September 2002 1:38 PM > To: apt...@li... > Subject: Re: [Apt-proxy-users] 404 is not serviced by this server > > > This is not my second box. I preparation for my second box I am > trying to get this running on the one I have so that I > can migrate > my existing debs into the cache before I install on the new one. > > Thanks for the quick response! > > ~Michael |
From: Chris H. <chr...@gm...> - 2002-09-12 08:13:48
|
Hi Roland On Thu, Sep 12, 2002 at 03:09:00PM +1000, Roland Gerlach wrote: > I've been using apt-proxy for a while now and have customised my > apt-proxy.conf file. I'm not sure what is contained in the current defau= lt > apt-proxy.conf file but mine contains: >=20 > add_backend /debian/ \ > $APT_PROXY_CACHE/debian/ \ > ftp.au.debian.org::debian/ \ > ftp.debian.org::debian/ Actually, rsync backends are not really a good idea any more, since they are only more efficient for uncompressed control files and put more load on the server. See the current default apt-proxy.conf for examples using http and rsync for Packages: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/apt-proxy/apt-proxy/Attic= /apt-proxy.conf?rev=3D1.7.2.2&only_with_tag=3Dapt-proxy-v1&content-type=3Dt= ext/vnd.viewcvs-markup Chris |
From: Michael W. <we...@mi...> - 2002-09-12 13:58:39
|
Thanks for everyones help. I have this mostly working now. I am unable to get non-US or security updates still. The rest comes through OK. add_backend /debian/ \ $APT_PROXY_CACHE/debian/ \ http://silug.org/pub/debian/ add_backend /non-US/ \ $APT_PROXY_CACHE/non-US/ \ http://non-us.debian.org/debian-non-US add_backend /security/ \ $APT_PROXY_CACHE/security/ \ http://security.debian.org My sources list is the same as before. I am so close! Can you see what is wrong? I am getting the same 404 errors but only for non-US and security most packages are working. Thanks, ~Michael |
From: Chris H. <chr...@gm...> - 2002-09-12 14:22:10
|
On Thu, Sep 12, 2002 at 06:58:35AM -0700, Michael West wrote: > I am unable to get non-US or security updates still. The rest > comes through OK. > add_backend /non-US/ \ > $APT_PROXY_CACHE/non-US/ \ > http://non-us.debian.org/debian-non-US I don't see a directory called debian-non-US at http://non-us.debian.org. Quoting from the example apt-proxy.conf: # Debian non-US #deb http://APTPROXY:9999/non-US stable/non-US main contrib non-free #deb http://APTPROXY:9999/non-US woody/non-US main contrib non-free #deb http://APTPROXY:9999/non-US sarge/non-US main contrib non-free #deb http://APTPROXY:9999/non-US sid/non-US main contrib non-free add_backend /non-US/ \ $APT_PROXY_CACHE/non-US/ \ http://non-us.debian.org/ \ http://ftp.de.debian.org/debian-non-US/ \ http://ftp.uk.debian.org/debian-non-US/ \ +ftp.de.debian.org::debian-non-US/ > add_backend /security/ \ > $APT_PROXY_CACHE/security/ \ > http://security.debian.org Your add_backend looks OK but you've probably got something wrong in sources.list. # Debian security #deb http://APTPROXY:9999/security stable/updates main contrib non-free #deb http://APTPROXY:9999/security woody/updates main contrib non-free #deb http://APTPROXY:9999/security sarge/updates main contrib non-free add_backend /security/ \ $APT_PROXY_CACHE/security/ \ http://security.debian.org/ > My sources list is the same as before. I am so close! I can't find a mail that contains your sources.list, but the above should help you anyway. Chris |
From: Michael W. <we...@mi...> - 2002-09-13 04:34:55
|
I have this working now. Thanks for everyones help. To give a sense of completion here are my backends and sources. I would be interested in suggestions for changing anything. I will be adding some other mirrors Backends: add_backend /debian/ \ $APT_PROXY_CACHE/debian/ \ http://silug.org/pub/debian/ add_backend /debian-non-US/ \ $APT_PROXY_CACHE/non-US/ \ http://non-us.debian.org/ add_backend /debian-security/ \ $APT_PROXY_CACHE/security/ \ http://security.debian.org/ Sources: deb-src http://quag:9999/debian/ stable main non-free contrib deb http://quag:9999/debian/ stable main non-free contrib deb http://quag:9999/debian-non-US/ stable/non-US main contrib non-free deb-src http://quag:9999/debian/ testing main non-free contrib deb http://quag:9999/debian/ testing main non-free contrib deb-src http://quag:9999/debian/ unstable main non-free contrib deb http://quag:9999/debian/ unstable main non-free contrib deb http://quag:9999/debian-security stable/updates main contrib non-free deb http://quag:9999/debian-security testing/updates main contrib non-free |
From: Roland G. <rol...@me...> - 2002-09-13 04:01:12
|
Can apt-proxy be configured to use a http proxy server? With regard to rsync efficiency, wouldn't rsync be more efficient when you have an existing file to build the new file from? With http/ftp you must get the complete file every time. I do appreciate that rsync does put more load on the server and I have discovered that my local mirror (ftp.au.debian.org) disables compression on their rsync server for that reason. Cheers, Roland. -- Tell me and I'll forget; show me and I may remember; involve me and I'll understand - Chinese Proverb. > -----Original Message----- > From: Chris Halls [mailto:chr...@gm...] > Sent: Thursday, 12 September 2002 6:14 PM > To: apt...@li... > Subject: Re: [Apt-proxy-users] 404 is not serviced by this server > > Actually, rsync backends are not really a good idea any more, since they are > only more efficient for uncompressed control files and put more load on the > server. See the current default apt-proxy.conf for examples using http and > rsync for Packages: > > > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/apt-proxy/apt-p roxy/Attic/apt-proxy.conf?rev=1.7.2.2&only_with_tag=apt-proxy-v1&content-typ e=text/vnd.viewcvs-markup Chris |
From: Michael W. <we...@mi...> - 2002-09-12 03:38:08
|
This is not my second box. I preparation for my second box I am trying to get this running on the one I have so that I can migrate my existing debs into the cache before I install on the new one. Thanks for the quick response! ~Michael On Thu, Sep 12, 2002 at 01:32:59PM +1000, Roland Gerlach wrote: > You mention that this is your second Debian box - was that sources.list file > from the second box? If so, you need to replace localhost with the name of > your first box (which is running apt-proxy). > > I hope this helps. > > Cheers, > Roland. > -- > Tell me and I'll forget; show me and I may remember; > involve me and I'll understand - Chinese Proverb. > > > > -----Original Message----- > > From: Michael West [mailto:we...@mi...] > > Sent: Thursday, 12 September 2002 1:02 PM > > To: apt...@li... > > Subject: [Apt-proxy-users] 404 is not serviced by this server > > > > > > I am just about to set up my second debian box and am > > trying to get > > apt-proxy working for the first time. I am unable to > > successfully > > run `apt-get update` I am running woody. > > > > I am using the default apt-proxy.conf which came with > > the package. > > From the apt-proxy.conf man page "The supplied > > apt-proxy.conf will > > work out of the box" > > > > I am using the sources.list from the apt-proxy.conf man page for > > testing. > > > > deb http://localhost:9999/debian woody main non-free contrib > > deb-src http://localhost:9999/debian woody main non-free contrib > > > > netstat shows listening on 9999: > > > > tcp 0 0 *:9999 *:* LISTEN > > > > When I run apt-get update I get: > > > > ------------------- > > > > Err http://localhost woody/main Packages > > 404 is not serviced by this server > > Ign http://localhost woody/main Release > > Err http://localhost woody/non-free Packages > > 404 is not serviced by this server > > Ign http://localhost woody/non-free Release > > Err http://localhost woody/contrib Packages > > 404 is not serviced by this server > > Ign http://localhost woody/contrib Release > > Err http://localhost woody/main Sources > > 404 is not serviced by this server > > Ign http://localhost woody/main Release > > Err http://localhost woody/non-free Sources > > 404 is not serviced by this server > > Ign http://localhost woody/non-free Release > > Err http://localhost woody/contrib Sources > > 404 is not serviced by this server > > Ign http://localhost woody/contrib Release > > led to fetch > > http://localhost:9999/debian/dists/woody/main/binary-i386/Pack > > ages 404 > > is not serviced by this server > > Failed to fetch > > http://localhost:9999/debian/dists/woody/non-free/binary-i386/Packages > > 404 is not serviced by this server > > Failed to fetch > > http://localhost:9999/debian/dists/woody/contrib/binary-i386/Packages > > 404 is not serviced by this server > > Failed to fetch > > http://localhost:9999/debian/dists/woody/main/source/Sources > > 404 is not > > serviced by this server > > Failed to fetch > > http://localhost:9999/debian/dists/woody/non-free/source/Sourc > es 404 is > not serviced by this server > Failed to fetch > http://localhost:9999/debian/dists/woody/contrib/source/Sources 404 is > not serviced by this server > Reading Package Lists... Done > Building Dependency Tree... Done > W: Couldn't stat source package list http://localhost woody/main > Packages > (/var/lib/apt/lists/localhost:9999_debian_dists_woody_main_binary-i386_Packa > ges) > - stat (2 No such file or directory) > W: Couldn't stat source package list http://localhost woody/non-free > Packages > (/var/lib/apt/lists/localhost:9999_debian_dists_woody_non-free_binary-i386_P > ackages) > - stat (2 No such file or directory) > W: Couldn't stat source package list http://localhost woody/contrib > Packages > (/var/lib/apt/lists/localhost:9999_debian_dists_woody_contrib_binary-i386_Pa > ckages) > - 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. > > ------------------- > > Any ideas on how to get started with apt-proxy for me? > > ~Michael > > > ------------------------------------------------------- > In remembrance > www.osdn.com/911/ > _______________________________________________ > Apt-proxy-users mailing list > Apt...@li... > https://lists.sourceforge.net/lists/listinfo/apt-proxy-users |