Active Topics

 


Reply
Thread Tools
Posts: 14 | Thanked: 1 time | Joined on Dec 2009
#1
Hi,

Iḿ having a problem with getting the libhildon packages to install. It seems the problem is that the sandbox cannot connect to the repositories. Is there any additional setup in the sandbox that needs to be done so this error will go away?

[sbox-FREMANTLE_X86: /etc/apt] > fakeroot apt-get update
Err http://repository.maemo.org fremantle/sdk Release.gpg
Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org fremantle/tools Release.gpg
Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org fremantle Release.gpg
Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org fremantle Release.gpg
Temporary failure resolving 'repository.maemo.org'
Err http://repository.maemo.org fremantle/******************************** Release.gpg
Temporary failure resolving 'repository.maemo.org'
Failed to fetch http://repository.maemo.org/dists/fr...dk/Release.gpg Temporary failure resolving 'repository.maemo.org'
Failed to fetch http://repository.maemo.org/dists/fr...ls/Release.gpg Temporary failure resolving 'repository.maemo.org'
Failed to fetch http://repository.maemo.org/extras/d...le/Release.gpg Temporary failure resolving 'repository.maemo.org'
Failed to fetch http://repository.maemo.org/extras-d...le/Release.gpg Temporary failure resolving 'repository.maemo.org'
Failed to fetch http://repository.maemo.org/dists/fr...**/Release.gpg Temporary failure resolving 'repository.maemo.org'
Reading package lists... Done
W: Couldn't stat source package list http://repository.maemo.org fremantle/sdk/free Packages (/var/lib/apt/lists/repository.maemo.org_dists_fremantle_sdk_free_bina ry-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://repository.maemo.org fremantle/sdk/non-free Packages (/var/lib/apt/lists/repository.maemo.org_dists_fremantle_sdk_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://repository.maemo.org fremantle/tools/free Packages (/var/lib/apt/lists/repository.maemo.org_dists_fremantle_tools_free_bi nary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://repository.maemo.org fremantle/tools/non-free Packages (/var/lib/apt/lists/repository.maemo.org_dists_fremantle_tools_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://repository.maemo.org fremantle/free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle_free_b inary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://repository.maemo.org fremantle/non-free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://repository.maemo.org fremantle/free Packages (/var/lib/apt/lists/repository.maemo.org_extras-devel_dists_fremantle_free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://repository.maemo.org fremantle/non-free Packages (/var/lib/apt/lists/repository.maemo.org_extras-devel_dists_fremantle_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://repository.maemo.org fremantle/********************************/nokia-binaries Packages (/var/lib/apt/lists/repository.maemo.org_dists_fremantle_************* *******************_nokia-binaries_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
[sbox-FREMANTLE_X86: /etc/apt] >
 
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#2
It might be your /etc/resolv.conf files. I believe there's a different one for each target AND for scratchbox as a whole and they aren't all synched up out of the box with your system's version.
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful
 
Posts: 14 | Thanked: 1 time | Joined on Dec 2009
#3
Ie tried to modify the /etc/resolv.conf in scratchbox to match ubuntuś but still gives me problems any other ides?

I use 192.168.1.1 as the nameserver address. Should I use a different one instead?

Thanks
 
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#4
That's on your LAN (your router, obviously). Without knowing the setup, i couldn't say. Comcast (my ISP) has such flaky DNS servers that i finally just put in google's, i think.

See this thread:
http://talk.maemo.org/showthread.php?t=33929
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful

Last edited by Flandry; 2009-12-30 at 06:47.
 
Posts: 14 | Thanked: 1 time | Joined on Dec 2009
#5
Iḿ tried it with google public DNS and it still does not work.

Thanks
 
Posts: 14 | Thanked: 1 time | Joined on Dec 2009
#6
Originally Posted by Flandry View Post
Answering my own question again:
For reasons obscure to me, there is a separate /etc/resolv.conf for scratchbox (in /scratchbox/etc) and for each of the targets (which is what you'll see if you check /etc/resolv.conf inside scratchbox). In my case, the scratchbox one didn't have the extra nameserver info, just the target resolv.conf. Changing that made the repo domain resolve after a few tries.

Horus: you certainly could do it from http://maemo.org/packages (download the deb) but installing things that way with dpkg is not really "the right way" and may lead to confusion in apt.
That one from you worked. I was editting the wrong resolv.conf file which MAKES no sense. I was editting inside the sandbox instead of /scratchbox/etc/resolv.conf

Thanks for your help.

Last edited by lorddct; 2009-12-30 at 07:00.
 
Posts: 355 | Thanked: 566 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#7
There's actually more than one resolv.conf. Perhaps check them all. I see:

Code:
/targets/FREMANTLE_X86/etc/resolv.conf

/targets/FREMANTLE_ARMEL/etc/resolv.conf

/targets/MaemoKernel/etc/resolv.conf

/scratchbox/etc/resolv.conf
 
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#8
Originally Posted by lorddct View Post
Hi,

Iḿ having a problem with getting the libhildon packages to install. It seems the problem is that the sandbox cannot connect to the repositories.
...
E: Some index files failed to download, they have been ignored, or old ones used instead.
[sbox-FREMANTLE_X86: /etc/apt] >
1) Are you using maemo vmware sdk?
2) Is your host system Ubuntu or another distro which generates resolv.conf dynamically?

If so, the following may apply to you:
from: http://maemovmware.garage.maemo.org/...mentation.html
Scratchbox does not initialize resolv.conf properly. Such file defines DNS servers. Whenever Scratchbox is started, it copies /etc/resolv.conf from host PC BEFORE such file is created by NetworkManager. In order to solve this problem, restart Scratchbox using the following command line

Code:
$ sudo /scratchbox/sbin/sbox_ctl restart
hope this helps. some older scratchbox installs had issues with nsswitch.conf, also, iirc.

Last edited by ArnimS; 2009-12-30 at 15:25. Reason: it's like printing a letter to paper.
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:25.