On Sat, Nov 01, 2003 at 12:23:27PM -0500, Haines Brown said
>
> > > Err http://ftp.br.debian.org woody/main Packages
> > > Could not connect to 127.0.0.1:3128 (127.0.0.1). - connect=20
> > > (111 Connection refused)
> > > Err http://ftp.br.debian.org woody/main Release
> > > Could not connect to 127.0.0.1:3128 (127.0.0.1). - connect=20
> > > (111 Connection refused)
> > > ...
> >
> > That means apt can't reach your proxy running on localhost port 3128.
> > Does "netstat -pant | grep 3128" as root show it listening on any
> > interfaces at all?
>
> I got nothing back from this query, so presume not. In your comment,
> what does "it" refer to? Apt?
"it" refers to the proxy that you've told apt is listening on
127.0.0.1:3128.
> If so, apparently the following is
> wrong/insufficient:
>
> Acquire
> {
> Retries "0";
> // I added this next subsection:
> http
> {
> Proxy "http://127.0.0.1:3128";
> Proxy::http.us.debian.org "DIRECT"; // Specific per-host setting
> Timeout "120";
> Pipeline-Depth "5";
>
> // Cache Control. Note these do not work with Squid 2.0.2
> No-Cache "false";
> Max-Age "86400"; // 1 Day age on index files
> No-Store "false"; // Prevent the cache from storing archives
> };
> };
Are you actually intending to run a proxy on this machine? If not,
comment out the Proxy lines in this section and try "apt-get udpate"
again.
--
Rob Weir <rweir@ertius.org> | mlspam@ertius.org | Do I look like I want a CC?
Words of the day: NASA number key undercover Semtex colonel morse Mossad
Attachment:
signature.asc
Description: Digital signature