maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Cannot apt-get update on FREMANTLE_ARMEL target (https://talk.maemo.org/showthread.php?t=48864)

kucharski601 2010-03-31 17:44

Cannot apt-get update on FREMANTLE_ARMEL target
 
Hi everyone!

I'm trying to set up the Maemo 5 SDK on my x86 Ubuntu 9.1. I followed the instructions given at:
http://wiki.maemo.org/Documentation/...d_distribution
Everything was correct until I had to update the apt-get on FREMANTLE_ARMEL target. (When I apt-get updated the FREMANTLE_X86 there was no problem. Appx. 130Mb of data downloaded and then i could
Code:

fakeroot apt-get install nokia-binaries nokia-apps
When running
Code:

apt-get update
on the FREMANTLE_ARMEL target I get the following
Code:

[sbox-FREMANTLE_ARMEL: ~] > apt-get update
Hit http://catalogue.tableteer.nokia.com mistral/user Packages
Hit http://catalogue.tableteer.nokia.com mistral/user Release
Hit http://catalogue.tableteer.nokia.com mistral/user Packages
Hit http://catalogue.tableteer.nokia.com mistral/user Release 
Err http://repository.maemo.org mistral/free Packages         
  404 Not Found [IP: 77.67.19.98 80]
Ign http://repository.maemo.org mistral/free Release
Err http://repository.maemo.org mistral/non-free Packages
  404 Not Found [IP: 77.67.19.98 80]
Ign http://repository.maemo.org mistral/non-free Release
Err http://repository.maemo.org mistral/free Sources
  404 Not Found [IP: 77.67.19.98 80]
Ign http://repository.maemo.org mistral/free Release
Err http://repository.maemo.org mistral/non-free Sources
  404 Not Found [IP: 77.67.19.98 80]
Ign http://repository.maemo.org mistral/non-free Release
Hit http://repository.maemo.org mistral/free Packages
Hit http://repository.maemo.org mistral/free Release 
Hit http://repository.maemo.org mistral/non-free Packages
Hit http://repository.maemo.org mistral/non-free Release
Hit http://repository.maemo.org mistral/free Sources 
Ign http://repository.maemo.org mistral/free Release 
Hit http://repository.maemo.org mistral/non-free Sources
Ign http://repository.maemo.org mistral/non-free Release
Failed to fetch http://repository.maemo.org/contrib/dists/mistral/free/binary-i386/Packages.gz  404 Not Found [IP: 77.67.19.98 80]
Failed to fetch http://repository.maemo.org/contrib/dists/mistral/non-free/binary-i386/Packages.gz  404 Not Found [IP: 77.67.19.98 80]
Failed to fetch http://repository.maemo.org/contrib/dists/mistral/free/source/Sources.gz  404 Not Found [IP: 77.67.19.98 80]
Failed to fetch http://repository.maemo.org/contrib/dists/mistral/non-free/source/Sources.gz  404 Not Found [IP: 77.67.19.98 80]
Reading Package Lists... Done
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_binary-i386_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-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.

I know the solution might be in the resolv.conf files. I checked that both
Code:

/scratchbox/etc/resolv.conf
and
Code:

/scratchbox/users/<user>/targets/FREMANTLE_ARMEL/etc/resolv.conf
have the same addresses that
Code:

/etc/resolv.conf
has (which is the correct one)

Also, I've found this one:http://talk.maemo.org/showpost.php?p=367317 I don't have the 99proxy directory, however

Finally, I went to
Code:

sb-menu
and edited the FREMANTLE_ARMEL target, selected the
Code:

cs2007q3-glibc2.5-arm7
compiler, then the devkits:
Code:

cputransp, debian-sarge, doctools, perl
then the transparency method:
Code:

qemu-arm-0.8.2-sb2
and then tried to extract the rootstrap, but it failed, then i tried to install files to the target, but nothing worked.
After this, I got the advice I shouldn't have done anything in the sb-menu. Maybe I corrupted something doing so? I didn't have any transparency methods though, so I think I did the right thing installing them.

Any ideas?

fnordianslip 2010-03-31 17:53

Re: Cannot apt-get update on FREMANTLE_ARMEL target
 
I don't have any answers, but I'd be wondering why apt-get is looking for mistral packages.

kucharski601 2010-03-31 18:17

Re: Cannot apt-get update on FREMANTLE_ARMEL target
 
No idea. I've just overwritten the contents of
Code:

/scratchbox/users/<user>/targets/FREMANTLE_ARMEL/etc/apt/sources.list
with the
Code:

/scratchbox/users/<user>/targets/FREMANTLE_X86/etc/apt/sources.list
one. I suppose they have to the same. These are
Code:

deb http://repository.maemo.org/ fremantle/sdk free non-free
deb-src http://repository.maemo.org/ fremantle/sdk free
deb http://repository.maemo.org/ fremantle/tools free non-free
deb-src http://repository.maemo.org/ fremantle/tools free
deb http://repository.maemo.org/ fremantle/<id> nokia-binaries

Still getting:
Code:

[sbox-FREMANTLE_ARMEL: ~] > apt-get update
Err http://repository.maemo.org fremantle/sdk/free Packages
  404 Not Found [IP: 62.115.64.155 80]
Ign http://repository.maemo.org fremantle/sdk/free Release
Err http://repository.maemo.org fremantle/sdk/non-free Packages
  404 Not Found [IP: 62.115.64.155 80]
Ign http://repository.maemo.org fremantle/sdk/non-free Release
Hit http://repository.maemo.org fremantle/sdk/free Sources
Hit http://repository.maemo.org fremantle/sdk/free Release
Err http://repository.maemo.org fremantle/tools/free Packages
  404 Not Found [IP: 62.115.64.155 80]
Ign http://repository.maemo.org fremantle/tools/free Release
Err http://repository.maemo.org fremantle/tools/non-free Packages
  404 Not Found [IP: 62.115.64.155 80]
Ign http://repository.maemo.org fremantle/tools/non-free Release
Hit http://repository.maemo.org fremantle/tools/free Sources
Hit http://repository.maemo.org fremantle/tools/free Release
Err http://repository.maemo.org fremantle/********************************/nokia-binaries Packages
  404 Not Found [IP: 62.115.64.155 80]
Ign http://repository.maemo.org fremantle/********************************/nokia-binaries Release
Failed to fetch http://repository.maemo.org/dists/fremantle/sdk/free/binary-arm/Packages.gz  404 Not Found [IP: 62.115.64.155 80]
Failed to fetch http://repository.maemo.org/dists/fremantle/sdk/non-free/binary-arm/Packages.gz  404 Not Found [IP: 62.115.64.155 80]
Failed to fetch http://repository.maemo.org/dists/fremantle/tools/free/binary-arm/Packages.gz  404 Not Found [IP: 62.115.64.155 80]
Failed to fetch http://repository.maemo.org/dists/fremantle/tools/non-free/binary-arm/Packages.gz  404 Not Found [IP: 62.115.64.155 80]
Failed to fetch http://repository.maemo.org/dists/fremantle/********************************/nokia-binaries/binary-arm/Packages.gz  404 Not Found [IP: 62.115.64.155 80]
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_binary-arm_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-arm_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_binary-arm_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-arm_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-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.


santrancisco 2010-05-27 17:24

Re: Cannot apt-get update on FREMANTLE_ARMEL target
 
I ran to the same problem, did a bit of google and found someone suggested to change /etc/hosts . So i added into /scratchbox/etc/hosts the following
92.123.72.74 repository.maemo.org
and it works.
previously when i tried to ping, it would redirect me to 203.206.129.48.
I hope this helps.


All times are GMT. The time now is 21:04.

vBulletin® Version 3.8.8