On 13-Oct-2008, Mark Hindley wrote:
> On Mon, Oct 13, 2008 at 09:53:25AM +1100, Ben Finney wrote:
> > I don't know exactly which configuration setting determines that, 
> > so here are all the configuration settings for ???apt-cacher???:
> 
> Thanks.
> 
> What does /etc/default/apt-cacher contain?

=====
$ grep -v '^\(#.*\|\s*\)$' /etc/default/apt-cacher
AUTOSTART=1
=====

> How have you pointed apt to the cache? Changed /etc/apt/sources.list 
> or set Acquire::htp::proxy in /etc/apt/apt.conf?

I wasn't aware that ‘apt-cacher’ works as an HTTP proxy, I'd love to 
know how to use it that way! I thought one needs to modify the 
requested URLs in ‘sources.list’ directly.

So, here is the configuration (currently disabled) on the machine that  
has slow performance via ‘apt-cacher’:

=====
$ grep -v '^\(#.*\|\s*\)$' /etc/apt/sources.list.d/whitetree-lan.list.DISABLED
deb http://proxy:3142/security.debian.org/debian-security/ lenny/updates main
deb http://proxy:3142/mirror.internode.on.net/pub/debian/ lenny main
=====

The above configuration (when enabled by renaming the file) causes the 
behaviour reported in this bug report; so, I've currently got that 
machine configured with this:

=====
$ grep -v '^\(#.*\|\s*\)$' /etc/apt/sources.list.d/whitetree-lan.NOPROXY.list
deb http://security.debian.org/debian-security/ lenny/updates main
deb http://mirror.internode.on.net/pub/debian/ lenny main
=====

The above configuration works properly, in contrast to the 
configuration using the proxy.

> > The debug log doesn't currently exist (at least, I see no file 
> > named ???/var/log/apt-cacher/debug.log???). What specifically do I 
> > need to do to get that?
> 
> Set debug=0 in /etc/apt-cacher/apt-cacher.conf

Its configuration already has “debug=0”. I presume you mean something 
other than that value? Perhaps “debug=1” or something else?

Once I've changed the configuration, is there some particular sequence 
of actions you want me to perform before giving the resulting debug 
log output?

-- 
 \              “Only the educated are free.” —Epictetus, _Discourses_ |
  `\                                                                   |
_o__)                                                                  |
Ben Finney <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

Reply via email to