Reply
Thread Tools
Posts: 14 | Thanked: 0 times | Joined on Jan 2007
#1
Hi!!!

i have a debian with scratchbox installed. I have to recompile the kernel into the scratchbox in order to run an SCTP aplication. So i need to update the package list, but when i type:

[sbox- MAEMO_KERNEL: ~] > apt-get update

i obtain this:

Failed to fetch http://catalogue.tableteer.nokia.com...rm/Packages.gz 404 Not Found [IP: 212.170.238.81 80]
Failed to fetch http://repository.maemo.org/contrib/...rm/Packages.gz 404 Not Found [IP: 212.170.238.10 80]
Failed to fetch http://repository.maemo.org/contrib/...rm/Packages.gz 404 Not Found [IP: 212.170.238.10 80]
Reading Package Lists... Done
W: Couldn't stat source package list http://catalogue.tableteer.nokia.com mistral/user Packages (/var/lib/apt/lists/catalogue.tableteer.nokia.com_certified_dists_mist ral_user_binary-arm_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://repository.maemo.org mistral/free Packages (/var/lib/apt/lists/repository.maemo.org_contrib_dists_mistral_free_bi nary-arm_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://repository.maemo.org mistral/non-free Packages (/var/lib/apt/lists/repository.maemo.org_contrib_dists_mistral_non-free_binary-arm_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.

My /etc/apt/sources.list is like that:

#maemo:essential
deb http://catalogue.tableteer.nokia.com/certified/ mistral user
deb http://catalogue.tableteer.nokia.com/non-certified/ mistral user
deb http://repository.maemo.org/contrib/ mistral free non-free
deb-src http://repository.maemo.org/contrib/ mistral free non-free
deb http://repository.maemo.org/ mistral free non-free
deb-src http://repository.maemo.org/ mistral free non-free

network is working OK.

can you help me?

Thanks
 
Posts: 34 | Thanked: 9 times | Joined on Mar 2006 @ Wien
#2
You must close Application Manager BEFOR apt-get start. In your case it is looking like shared access to sources.list, bbut it's not possible.
 
Posts: 14 | Thanked: 0 times | Joined on Jan 2007
#3
how can i close Application manager?

sorry, but i'm noob.
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#4
I may have had a similar problem, network was working, but not dns. Look for resolv.conf,, and setup DNS, inside scratchbox

find / -name resolv.conf


edit it, and add valid DNS servers, instead of 127.0.0.1
 

The Following User Says Thank You to penguinbait For This Useful Post:
Posts: 14 | Thanked: 0 times | Joined on Jan 2007
#5
resolv.conf is OK
 
Posts: 14 | Thanked: 0 times | Joined on Jan 2007
#6
above i have observed errors like that:

W: Couldn't stat source package list http://catalogue.tableteer.nokia.com mistral/user Packages (/var/lib/apt/lists/catalogue.tableteer.nokia.com_certified_dists_mist ral_user_binary-arm_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://repository.maemo.org mistral/free Packages (/var/lib/apt/lists/repository.maemo.org_contrib_dists_mistral_free_bi nary-arm_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://repository.maemo.org mistral/non-free Packages (/var/lib/apt/lists/repository.maemo.org_contrib_dists_mistral_non-free_binary-arm_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems

in my folder (in sratchbox) /var/lib/apt/lists :

es
lock
partial
repository.maemo.org_contrib_dists_mistral_free_so urce_Sources
repository.maemo.org_contrib_dists_mistral_non-free_source_Sources
repository.maemo.org_dists_mistral_free_binary-arm_Packages
repository.maemo.org_dists_mistral_free_binary-arm_Release
repository.maemo.org_dists_mistral_free_source_Sou rces
repository.maemo.org_dists_mistral_non-free_binary-arm_Packages
repository.maemo.org_dists_mistral_non-free_binary-arm_Release
repository.maemo.org_dists_mistral_non-free_source_Sources


these files doesn't exists.

 
megabyte405's Avatar
Posts: 197 | Thanked: 87 times | Joined on Apr 2007 @ USA
#7
This last error is saying (couldn't stat means they aren't there) that you don't have the info from the sources. You need to run apt-get update, and if the network isn't working, you need to fix it, so that apt-get update works. Looks like DNS might be something to think about.
__________________
Ryan
AbiWord Dev, N800 user
Nokia internet tablet docs: http://www.cleardefinition.com
AbiWord on Maemo beta now available - contact me to help fix bugs!
 
tz1's Avatar
Posts: 716 | Thanked: 236 times | Joined on Dec 2007
#8
I ran into the same problem and solved it.

/scratchbox/etc/resolv.conf wasn't symlinked, so it picked up a DNS server I only can access from one system. And it wasn't clear that it was reading it from anything I was doing.

I could fix the symlink or whatever, but instead I moved to opendns.com nameservers, replacing the file with:

Code:
nameserver 208.67.222.222
nameserver 208.67.220.220
 

The Following 2 Users Say Thank You to tz1 For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 20:39.