Re: apt-get and http proxy failure

1999-09-27 Thread Richard A Nelson
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


Re: apt-get and http proxy failure

1999-09-25 Thread Jason Gunthorpe

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.

Jason


apt-get and http proxy failure

1999-09-24 Thread Richard A Nelson
If I use an environment variable http_proxy, apt does use the specified
proxy.

However, with this in my /etc/apt/apt.conf, the proxy is silently ignored:
Acquire
{
  Queue-Mode "host";   // host|access
  Retries "0";

  // HTTP method configuration
  Http 
  {
 Proxy "http://localhost:80";;


I can see this in the debugging info:
Acquire::Http "";
Acquire::Http::Proxy "http://localhost:80";;
Acquire::Http::Timeout "200";
Acquire::Http::No-Cache "true";
Acquire::Http::Max-Age "86400";
Acquire::Http::No-Store "true";
Acquire::Http::Pipeline-Depth "1";
... Acquire::Http::Proxy=http://localhost:80 ... (on the get)
<- 
http:102%20Status%0aURI:%20http://http.us.debian.org/debian/dists/unstable/main/binary-i386/Packages.gz%0aMessage:%20Connecting%20to%20http.us.debian.org%20(206.187.92.15)
  (ignoring the proxy)

What am I doing wrong?
-- 
Rick Nelson
C:\WINDOWS C:\WINDOWS\GO C:\PC\CRAWL