[maemo-developers] cannot resolve repository

From: Aleksandr Koltsoff czr at iki.fi
Date: Tue Nov 20 17:35:24 EET 2007
Actually what you could/should do, is as follows:

1) Install dnsmasq on your real host. Defaults should be ok, no need to
mess with your real host resolv.conf. Dnsmasq will read that and update
it's own internals when/if necessary automatically. Also, if using
Debian/Ubuntu, you don't need to touch dnsmasq default setup. It will
work out of the box.

2) Modify the /etc/resolv.conf in your sbox targets to read:
nameserver 127.0.0.1

This way sbox name resolution will use the dnsmasq that is running on
your real host, and you'll never have to touch your sbox resolv.conf again.

Very useful when using the machine in dhcp environments and/or traveling
around.

ak.

Bryan Kate wrote:
> Thank you. I checked most of them but I did not realize there were so many copies. Also, the file is fairly dynamic on the host system, so it was not being copied properly when it changed from site to site.
> 
> - Bryan
> 
> 
> Loïc Minier wrote:
>> On Mon, Nov 19, 2007, Bryan Kate wrote:
>>> I know the solution to this problem is all over the net, but I still
>>> cannot seem to fix it. I get the following error when I try to run
>>> 'apt-get update' on any target in scratchbox. 
>>  You didn't mention checking /etc/resolv.conf, so you might want to try
>>  that (in your rootstrap).
>>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers


More information about the maemo-developers mailing list