[Scratchbox-users] wget can resolve but apt-get can't

Claudio Scordino cloud.of.andor at gmail.com
Mon Mar 5 17:40:35 EET 2007


Murray Cumming wrote:
> I'm using scratchbox 1.0.7 on Ubuntu Feisty [1]. Well, actually it's a
> version of scratchbox that's supplied to a large company that you've
> heard of. I suspect that Movial put it together.
> 
> The problem is that apt-get can't resolve domains, but wget can. I've
> seen some other messages about errors in /etc/nsswitch.conf, which can
> cause this problem, but it already seems to have the right stuff. I've
> attached it in case someone can see an obvious error.
> 

Hi,

   for me changing the nsswitch.conf to

hosts:      files dns

worked.

Please, find in attachment my working nsswitch.conf and check the other parameters.

Regards,

          Claudio

-- 
=================================
Claudio Scordino		
Software Engineer

Evidence Srl
Embedded Real-Time solutions
http://www.evidence.eu.com
=================================

-------------- next part --------------

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat

## Modified by Evidence
## hosts:          files dns mdns
hosts:      files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis


More information about the Scratchbox-users mailing list