Bug#551760: Acknowledgement (apt: Something wicked happened resolving)
Hello Vladimir Stavrinov,
On Tue, Oct 20, 2009 at 17:16, Vladimir Stavrinov <firstname.lastname@example.org> wrote:
> On Tue, Oct 20, 2009 at 06:58:38PM +0400, Vladimir Stavrinov wrote:
>> environment. The resolver is proper configured, all living hosts are
>> pinging and there are no proxy.
> wget don't work too. No problems with lenny. It seems like more wide
You haven't quoted the complete error message, so i can't say what
is wrong exactly, but i am sure that it is unrelated to apt.
apt bails out this message if getaddrinfo() in connect.cc fails with
a "strange" error - APT complains about "not so strange" errors differently
(which are EAI_NONAME, EAI_SERVICE and EAI_AGAIN).
All others will lead to this message. The number in brackets at the end is
here the integer value of this error - you can look up the problem yourself
or create a boilerplate program which call gai_strerror() with this
If you want to can also recompile APT with the following patch applied
(which will most likely included in upcoming apt uploads).
See man 3 getaddrinfo and /usr/include/netdb.h for details.
Also of interest for you is maybe this email on debian-devel
(I have cc'ed Dominic Hargreaves to inform him about this bugreport/thread,
but i don't sent this mail to the list as my answer is rather apt-centric
and has few to no value for "normal" debian-devel)
Best regards / Mit freundlichen Grüßen,
David "DonKult" Kalnischkies
P.S.: Please don't forget to reassign the bug to a better fitting package,
if you isolate the cause. I have not closed it just to save you from the
hassle of reopening it. ;)
=== modified file 'methods/connect.cc'
--- methods/connect.cc 2009-09-26 17:45:15 +0000
+++ methods/connect.cc 2009-10-20 20:21:49 +0000
@@ -190,8 +190,8 @@
return _error->Error(_("Temporary failure resolving '%s'"),
- return _error->Error(_("Something wicked happened
resolving '%s:%s' (%i)"),
+ return _error->Error(_("Something wicked happened
resolving '%s:%s' (%i - %s)"),