[maemo-developers] [maemo-developers] apt-get 'could not resolve hostname' again

From: Andrew Barr andrew.james.barr at gmail.com
Date: Sun Feb 4 20:51:20 EET 2007
On Sun, 2007-02-04 at 19:45 +0100, Tim Teulings wrote:
> See my othe rthread, where I asked the same question.
> 
> The answer by Andreas Oberritter was:
> 
> "I encountered the same error. Scratchbox seems to copy nsswitch.conf
> from /etc/nsswitch.conf. See below for my changes on my Ubuntu Feisty
> setup which solved the problem."
> 
> -- /etc/nsswitch.conf  2007-01-11 22:01:14.000000000 +0100
> +++ /scratchbox/etc/nsswitch.conf       2007-01-25 12:20:06.000000000 +0100
> @@ -8,7 +8,7 @@
>  group:          compat
>  shadow:         compat
> 
> -hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
> +hosts:          files dns

That did the trick, thank you!

Now it's time to port some software to this shiny new Nokia N800...

Andrew

>  networks:       files
> 
>  protocols:      db files
> 
-- 
Andrew Barr

"My life is an open book, but I'm not going to read it to you."
        -- David Hyde Pierce

More information about the maemo-developers mailing list