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

Re: apt-get and http proxy failure



On Fri, 24 Sep 1999, Jason Gunthorpe wrote:
> On Fri, 24 Sep 1999, Richard A Nelson wrote:
> 
> > If I use an environment variable http_proxy, apt does use the specified
> > proxy.
> 
> Include the whole config file - betcha have a no proxy setting.

[badlands:/u/download 0]$ cat /etc/apt/apt.conf
// Options for the downloading routines
Acquire
{
  Queue-Mode "host";       // host|access
  Retries "0";
  
  // HTTP method configuration
  http 
  {
    Proxy "http://localhost:80";;
    Proxy::"wyvern.hursley.ibm.com" "DIRECT";
    Timeout "200";
    
    // Cache Control. Note these do not work with Squid 2.0.2
    No-Cache "true";
    Max-Age "86400";     // 1 Day age on index files
    No-Store "true";    // Prevent the cache from storing archives 
 
    Pipeline-Depth "0"; //This doesn't seem to work either ?!?!
  };
};

[badlands:/u/download 0]$ cat /etc/apt/sources.list
deb http://http.us.debian.org/debian unstable main contrib non-free
deb http://wyvern.hursley.ibm.com/ilc/debian unstable main contrib non-free non-
US/main non-US/contrib non-US/non-free

-- 
Rick Nelson
C:\WINDOWS C:\WINDOWS\GO C:\PC\CRAWL


Reply to: