Package: apt-transport-tor
Version: 0.2.1-1

When using apt-transport-tor, and there is a typo in the hostname of an
apt source, an error message like this show up when doing 'apt-get
update':

  Err tor+http://vxwakviie2ienjx6t.onion jessie/main amd64 Packages
    Can't complete SOCKS5 connection to 0.0.0.0:0. (1)

The error message is not easy to understand, and I was unable to
understand that this was the same as this error when using the normal
http transport:

  Err http://http.debin.net jessie Release.gpg 
    Something wicked happened resolving 'http.debin.net:http' (-5 - No
      address associated with hostname)

Would it be possible to change the message from apt-transport-tor to
explain that the hostname is unknown or missing in DNS or something
instead of the "Can't complete SOCKS5 connection to 0.0.0.0:0" message?

I suspect it would make debugging typos in sources.list a lot easier. :)

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to