[Scratchbox-users] wget can resolve but apt-get can't
Murray Cumming
murrayc at murrayc.com
Mon Mar 5 17:10:04 EET 2007
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.
[1] I'm using the 2.6.20-6 kernel image, to avoid the vdso problems.
--
Murray Cumming
murrayc at murrayc.com
www.murrayc.com
www.openismus.com
-------------- next part --------------
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
# nisplus or nis+ Use NIS+ (NIS version 3)
# nis or yp Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# db Use the local database (.db) files
# compat Use NIS on compat mode
# hesiod Use Hesiod for user lookups
# [NOTFOUND=return] Stop searching if not found so far
#
# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:
#passwd: db files nisplus nis
#shadow: db files nisplus nis
#group: db files nisplus nis
passwd: files
shadow: files
group: files
#hosts: db files nisplus nis dns
hosts: files dns
# Example - obey only what nisplus tells us...
#services: nisplus [NOTFOUND=return] files
#networks: nisplus [NOTFOUND=return] files
#protocols: nisplus [NOTFOUND=return] files
#rpc: nisplus [NOTFOUND=return] files
#ethers: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
bootparams: nisplus [NOTFOUND=return] files
ethers: files
netmasks: files
networks: files
protocols: files
rpc: files
services: files
netgroup: files
publickey: nisplus
automount: files
aliases: files nisplus
-------------- next part --------------
nameserver 127.0.0.1
More information about the Scratchbox-users
mailing list