Apt-get update under scratchcbox fails with "Temporary failure resolving 'repository.maemo.org'"
If your apt-get doesn't work properly under scratchbox, the problem is most likely in your /scratchbox/etc/nsswitch.conf and resolv.conf. You should copy the resolv.conf from /etc/resolv.conf and alter the nsswitch.conf line:
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
to read
hosts: files dns
