On Tuesday 03 March 2015 23:29:25 Francesco Poli wrote:
[snip]
> > >   $ grep -i detect /etc/apt/apt.conf /etc/apt/apt.conf.d/*
> > 
> > /etc/apt/apt.conf.d/30autoproxy:Acquire::http::ProxyAutoDetect
> > "/usr/share/squid-deb-proxy-client/apt-avahi-discover";
> ProxyAutoDetect is the legacy option name (see apt.conf(5) man page for
> more details) and it's not supported by apt-listbugs.

Interesting, this comes from apt-squid-proxy-client, maybe we need a
bug there :)
 
> You have to use the current option name:
>   Acquire::http::Proxy-Auto-Detect
> as explained in apt-listbugs(1) man page.
> 
> Please try to add those two hyphens to your configuration and test
> apt-listbugs again.

$ grep -i detect /etc/apt/apt.conf /etc/apt/apt.conf.d/*
/etc/apt/apt.conf.d/30autoproxy:Acquire::http::Proxy-Auto-Detect 
"/usr/share/squid-deb-proxy-client/apt-avahi-discover";

> > >   $ apt-config shell proxy_detect acquire::http::proxy-auto-detect
> > 
> > Returns nothing
> 
> After the configuration change, this command should return something
> like:
> 
>   proxy_detect='/usr/share/squid-deb-proxy-client/apt-avahi-discover'

$ apt-config shell proxy_detect acquire::http::proxy-auto-detect
proxy_detect='/usr/share/squid-deb-proxy-client/apt-avahi-discover'


$ /usr/share/squid-deb-proxy-client/apt-avahi-discover
http://192.168.1.15:3142/  #Mangled IP, but respects everything else.

$ apt-listbugs -d list apt-listbugs
auto proxy detect command from apt.conf: 
/usr/share/squid-deb-proxy-client/apt-avahi-discover
auto detected proxy: http://192.168.37.140:3142/
Obteniendo informes de fallo... 0% Using ParseStep = 200
Exception `LoadError' at 
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55 - cannot load such 
file -- xml/encoding-ja
Exception `LoadError' at 
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:141 - cannot load such 
file -- xml/encoding-ja
Set XSD::XMLParser::XMLParser as XML processor.
Exception `LoadError' at 
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55 - cannot load such 
file -- addressable/uri
Exception `LoadError' at 
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:141 - cannot load such 
file -- addressable/uri
Exception `LoadError' at 
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55 - cannot load such 
file -- net/ntlm
Exception `LoadError' at 
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:141 - cannot load such 
file -- net/ntlm
Exception `LoadError' at 
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55 - cannot load such 
file -- win32/sspi
Exception `LoadError' at 
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:141 - cannot load such 
file -- win32/sspi
Exception `LoadError' at 
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55 - cannot load such 
file -- gssapi
Exception `LoadError' at 
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:141 - cannot load such 
file -- gssapi
Wire dump:

= Request

! CONNECT TO 192.168.1.15:3142
! CONNECTION ESTABLISHED
POST http://bugs.debian.org:80/cgi-bin/soap.cgi HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
User-Agent: SOAP4R/1.6.1-SNAPSHOT (2.3.3, ruby 2.1.5 (2014-11-13))
Accept: */*
Date: Thu, 05 Mar 2015 18:01:26 GMT
Content-Length: 1053
Host: bugs.debian.org

<?xml version="1.0" encoding="utf-8" ?>
<env:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xmlns:xsd="http://www.w3.org/2001/XMLSchema";
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";>
  <env:Body>
    <n1:get_bugs env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
        xmlns:n1="Debbugs/SOAP/">
      <keyvalue xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/";
          n2:arrayType="xsd:anyType[4]"
          xsi:type="n2:Array">
        <item xsi:type="xsd:string">severity</item>
        <item n2:arrayType="xsd:anyType[3]"
            xsi:type="n2:Array">
          <item xsi:type="xsd:string">critical</item>
          <item xsi:type="xsd:string">grave</item>
          <item xsi:type="xsd:string">serious</item>
        </item>
        <item xsi:type="xsd:string">package</item>
        <item n2:arrayType="xsd:anyType[1]"
            xsi:type="n2:Array">
          <item xsi:type="xsd:string">apt-listbugs</item>
        </item>
      </keyvalue>
    </n1:get_bugs>
  </env:Body>
</env:Envelope>

= Response

! CONNECTION CLOSED
Exception `HTTPClient::KeepAliveDisconnected' at 
/usr/lib/ruby/vendor_ruby/httpclient/session.rb:882 - 
HTTPClient::KeepAliveDisconnected
Exception `HTTPClient::KeepAliveDisconnected' at 
/usr/lib/ruby/vendor_ruby/httpclient/session.rb:670 - 
HTTPClient::KeepAliveDisconnected
Exception `HTTPClient::KeepAliveDisconnected' at 
/usr/lib/ruby/vendor_ruby/soap/streamHandler.rb:251 - 
HTTPClient::KeepAliveDisconnected
 Fallo
 Exception: HTTPClient::KeepAliveDisconnected
Error al obtener informes de fallo del servidor con el siguiente mensaje de 
error:
E: HTTPClient::KeepAliveDisconnected

I'm guessing here that the "problem" is now in acng, right?

-- 
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to