From: Nigel W. <li...@ih...> - 2002-08-08 22:11:33
|
On Thu, 08 Aug 2002 14:40, you wrote: > I think you are confusing the rsync and http syntax. As you have it setup, > apt-proxy is looking for an rsync server at www.phy.olemiss.edu. I have no > idea about whether that host is running an rsync server, but your line in > sources.list accessed it by http. Even if rsync is setup on that server, > the Packages file would likely be small and probably not worth the extra > server overhead caused by rsync. Just use http: > Yes rsync is set up on this server but I went back and retested using http with the lines suggested and still it did not work. (Error was 500 Bad Configuration). I thought rsync would be helpful mainly for subsequent OpenOffice downloads. > add_backend /openoffice/ \ > $APT_PROXY_CACHE/openoffice/ \ > http://www.phy.olemiss.edu/openoffice/ > > Then add this to your sources.list files on various Debian hosts: > > deb http://<apt-proxy-host>:9999/openoffice/ testing main contrib > > (replacing <apt-proxy-host> with the real hostname of course). So anyone who knows a working pair of lines for sources.list and apt-proxy.conf to retrieve the OpenOffice debs from www.phy.olemiss.edu. I would be very pleased to see them. Thanks Nigel |
From: Craig F. <cr...@wi...> - 2002-08-08 22:51:03
|
I put those very lines (for hhtp) into my own apt-proxy.conf and sources.list and everything worked just fine, both for an 'apt-get update' and an 'apt-get install -d openoffice.org'. Here are the exact excerpts from those files: /etc/apt-proxy/apt-proxy.conf: add_backend /openoffice/ \ $APT_PROXY_CACHE/openoffice/ \ http://www.phy.olemiss.edu/openoffice/ /etc/apt/sources.list: deb http://localhost:9999/openoffice/ testing main contrib deb http://localhost:9999/openoffice/ unstable main contrib With a "500 Bad Configuration" error, it could be that another line (unrelated to your openoffice backend) in your apt-proxy.conf is messed up. Do you have any other backends setup under apt-proxy that do work? Go through your entire config file to make sure there isn't another problem. If you can't find any problems in the config file, feel free to email me your whole apt-proxy.conf file of the list, and I will look it over myself. -- Craig Foster cr...@wi... Nigel Walters <li...@ih...> said: > On Thu, 08 Aug 2002 14:40, you wrote: > > I think you are confusing the rsync and http syntax. As you have it setup, > > apt-proxy is looking for an rsync server at www.phy.olemiss.edu. I have no > > idea about whether that host is running an rsync server, but your line in > > sources.list accessed it by http. Even if rsync is setup on that server, > > the Packages file would likely be small and probably not worth the extra > > server overhead caused by rsync. Just use http: > > > > Yes rsync is set up on this server but I went back and retested using http > with the lines suggested and still it did not work. (Error was 500 Bad > Configuration). I thought rsync would be helpful mainly for subsequent > OpenOffice downloads. > > > > add_backend /openoffice/ \ > > $APT_PROXY_CACHE/openoffice/ \ > > http://www.phy.olemiss.edu/openoffice/ > > > > Then add this to your sources.list files on various Debian hosts: > > > > deb http://<apt-proxy-host>:9999/openoffice/ testing main contrib > > > > (replacing <apt-proxy-host> with the real hostname of course). > > So anyone who knows a working pair of lines for sources.list and > apt-proxy.conf to retrieve the OpenOffice debs from www.phy.olemiss.edu. I > would be very pleased to see them. > > Thanks > Nigel > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Apt-proxy-users mailing list > Apt...@li... > https://lists.sourceforge.net/lists/listinfo/apt-proxy-users > |
From: Chris H. <chr...@gm...> - 2002-08-09 11:31:41
|
Thanks Craig for answering this; just a quick comment: On Fri, Aug 09, 2002 at 10:08:42AM +1200, Nigel Walters wrote: > I thought rsync would be helpful mainly for subsequent=20 > OpenOffice downloads. Unfortunately, rsync doesn't deal efficiently with compressed files such as =2Edebs, and you get worse performance overall with rsync - an rsynced .deb= is typically reported as 0.99-1.1 times the original size, i.e. you get almost no saving and often it is actually worse due to the protocol overhead, and the load it puts on the rsync server. It is only worth using rsync for updating the large uncompressed Packages files found on the debian archvies; everything else is unnecessary, and puts unwanted load on the server. I changed the default apt-proxy.conf to reflect this in my last upload. The default was rsync becuase that was the only protocol apt-proxy origianally supported, and I did not want to change the default immeditately until the new http/ftp support had been proved to be reliable first. You can see the rsync stats by setting KEEP_STATS or DEBUG in apt-proxy.conf, if you would like to test it out yourself. Chris |