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

Bug#67848: Bad syntax description into apt.conf man page or config file parser error



Package: apt
Version: 0.3.19

 Following the man page (and the example into
/usr/share/doc/apt/examples/configure-index.gz  for apt.conf, I added
the following line in /etc/apt/apt-conf:

Acquire 
{
 http::Proxy "http://my.proxy.xxx:3128";;
 ftp
 {
  Proxy "ftp://my.proxy.xxx:3128";;
  };
};

 Then apt was unable to log into the ftp proxy.

 To get this work I had to remove the trailling semicolon for the ftp
proxy:

Acquire 
{
 http::Proxy "http://my.proxy.xxx:3128";;
 ftp
 {
  Proxy "ftp://my.proxy.xxx:3128";
  };
};


 So either the man page is wrong either there's an error in the config
file parser.

Cheers,

Sebastien Chaumat



Reply to: