On Wed, 23 Oct 2013 16:49:22 +0200 Michael Vogt wrote: > On Mon, Oct 21, 2013 at 07:01:55PM +0200, Francesco Poli wrote: [...] > > Please let me comment on one aspect: what happens when APT finds > > *both* Acquire::HTTP::Proxy *and* Acquire::http::Proxy-Auto-Detect set? > > Which one takes precedence? > > > > I think this should be documented... > > Good point, thanks. You're welcome! :-) > How about this: > > diff --git a/doc/apt.conf.5.xml b/doc/apt.conf.5.xml > index e8da666..87ad30c 100644 > --- a/doc/apt.conf.5.xml > +++ b/doc/apt.conf.5.xml > @@ -402,7 +402,10 @@ DPkg::Pre-Install-Pkgs > {"/usr/sbin/dpkg-preconfigure --apt" > the command to output the proxy on stdout in the style > <literal>http://proxy:port/</literal>. See the > &squid-deb-proxy-client; package for a example implementation > that > - uses avahi.</para> > + uses avahi. > + This option take precedence over the legacy option name > + <literal>ProxyAutoDetect</literal>. > + </para> > > </listitem> > </varlistentry> This documents what happens when both Acquire::HTTP::ProxyAutoDetect and Acquire::http::Proxy-Auto-Detect are set, which is also an interesting thing to know. But what I was asking was: what happens when both *Acquire::HTTP::Proxy* and Acquire::http::Proxy-Auto-Detect are set? -- http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt New GnuPG key, see the transition document! ..................................................... Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
Attachment:
pgpSM_Mq0BkgP.pgp
Description: PGP signature