[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apt-get: move from cdrom to online-sources



> >   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? 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    
  };
};

Haines 



Reply to: