maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Problem Install SDK - Due to New PR1.2 Release or ? (https://talk.maemo.org/showthread.php?t=53917)

ArchiMark 2010-05-26 21:45

Problem Install SDK - Due to New PR1.2 Release or ?
 
Hope someone can please advise...

Been trying off and on the past few days to get the Maemo 5 SDK installed on my laptop running latest Ubuntu 10.04.

Using the GUI SDK Installer app <maemo-sdk-install-wizard_5.0.py>, I get as far as step 4/9 'Installing SDK Targets', then it always fails when it gets to part:

Code:

Running apt-get update on 'FREMANTLE ARMEL'.
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'
Failed to fetch http://repository.maemo.org/dists/fremantle/sdk/Release.gpg Temporary failure resolving 'repository.maemo.org'
Failed to fetch http://repository.maemo.org/dists/fremantle/tools/Release.gpg Temporary failure resolving 'repository.maemo.org'
Reading package lists

The installation process was unable to run 'apt-get update' inside the installed targets in order to update the local package database.
This could be due to an error in network configuration inside scratchbox.
Common causes are incorrect proxy settings and the 'hosts' line in /scratchbox/etc/nswitch.conf.
For the 'hosts' line in /scratchbox/etc/nswitch.conf the following should usually be enough:
hosts:    files dns

Once network issues have been resolved, you should run the installer again.
V  [14:33:12 26.05.2010]: Failed to install SDK
V  [14:33:12 26.05.2010]: ------ Begin logging exception ------
Traceback (most recent call last):
  File "maemo-sdk-install-wizard_5.0.py", line 3052, in run
      task()

  File "maemo-sdk-install-wizard_5.0.py", line 2652, in 
    _taskInstallSdk raise Exception ("Failed to install SDK")

Exception: Failed to install SDK
V  [14:33:12 26.05.2010]: ------ End logging exception ------
V  [14:33:12 26.05.2010]: Executor set exit status to (status_error) 
......

Is this problem have anything to do with new PR1.2 release or just server issues or ???

Any suggestions?

Thanks,

Mark

Venemo 2010-05-26 23:17

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
Just use Nokia Qt SDK (with MADDE).

It works like a charm!

ArchiMark 2010-05-26 23:21

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
Quote:

Originally Posted by Venemo (Post 681084)
Just use Nokia Qt SDK (with MADDE).

It works like a charm!

OK, will check that out....

Thanks!

dsawhney 2010-05-26 23:28

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
Running SDK fine on Ubuntu 10.04. This seems to be a network/DNS issue, are you running any firewall etc on your machine ? How about adding an entry for "repository.maemo.org" in /etc/hosts and trying again ?

ArchiMark 2010-05-26 23:39

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
Quote:

Originally Posted by dsawhney (Post 681102)
Running SDK fine on Ubuntu 10.04. This seems to be a network/DNS issue, are you running any firewall etc on your machine ? How about adding an entry for "repository.maemo.org" in /etc/hosts and trying again ?

Thanks for your help....

Can you clarify what the entry should look like in /etc/hosts?

Should it look like this:

Code:

92.123.72.74    repository.maemo.org
Thanks....

Joorin 2010-05-27 04:28

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
I get two addresses if I do a nslookup for repository.maemo.org:

92.33.33.169
92.33.33.136

Having one of those in your /etc/hosts just as you showed above might very well give some result. And perhaps whatever service that is used for DNS by maemo.org should be chcked to see if it can cope with the onslaught.

ArchiMark 2010-05-27 13:25

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
Quote:

Originally Posted by Joorin (Post 681540)
I get two addresses if I do a nslookup for repository.maemo.org:

92.33.33.169
92.33.33.136

Having one of those in your /etc/hosts just as you showed above might very well give some result. And perhaps whatever service that is used for DNS by maemo.org should be chcked to see if it can cope with the onslaught.

Hmmm....interesting, Joorin....

I got numbers that I showed when I did IP lookup...

I did try what I showed and the good news is that installer can connect with repository during install process...but the bad news is that I'm still only getting part way through step 4 of 9, when at some point install process gets too many errors, fails, and stops install....

Should I 'start fresh' with install somehow? ie, remove whatever has been installed so far and then try install? If so, how do you that?

Or any other ideas as to how get installer to work? Really bugs me that I can't get this installed!

Thanks!

omeriko9 2010-05-27 13:38

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
Not sure if it has anything to do with your problem, but I tried updating the SDK to PR1.2, and it get stuck on the update window step. Happens since yesterday.

ArchiMark 2010-05-27 13:44

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
Quote:

Originally Posted by omeriko9 (Post 682783)
Not sure if it has anything to do with your problem, but I tried updating the SDK to PR1.2, and it get stuck on the update window step. Happens since yesterday.

Hmmm....interesting, omeriko....thanks for the input...

Well, maybe there is something going on with Nokia servers????.....and thus maybe it's not me screwing things up for a change.... ;)

MohammadAG 2010-05-27 14:16

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
Just upgraded the packages on my SDK and it worked without any problems.
OS is Ubuntu 10.04 64-bit.

ArchiMark 2010-05-27 15:00

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
Quote:

Originally Posted by MohammadAG (Post 682885)
Just upgraded the packages on my SDK and it worked without any problems.
OS is Ubuntu 10.04 64-bit.

Hmmmm....well, glad to hear that your install went well, MohammadAG...

I just tried again, and now it won't connect to repository again.... :confused:

Everyone, are you using the 'standard install' or 'customized install' option? I've been using the 'customized' option...

Also, after getting partially installed and then trying again, installer says "The fremantle armel and fremantle x86 targets already exist, please choose appropriate action.' Gives me 2 choices; 'create new ones' or 'overwrite existing targets'. I've tried both ways and doesn't seem to make a difference in end result...

Any suggestions??

hx54fun 2010-05-27 17:02

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
A lot of bugs occur when installing Maemo 5 SDK on Ubuntu 10.04 32-bit

Firstly , I received error message about "failed to install libssl" ...It;s not over yet when i started installing nokia-binaries packages more bugs happends something like "unknown freedesktop.org field ...."

Ittook me almost 3 days trying to install Maemo SDK ...

Hope someone can help me fix these issues

ArchiMark 2010-05-27 17:13

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
Quote:

Originally Posted by hx54fun (Post 683368)
A lot of bugs occur when installing Maemo 5 SDK on Ubuntu 10.04 32-bit

Firstly , I received error message about "failed to install libssl" ...It;s not over yet when i started installing nokia-binaries packages more bugs happends something like "unknown freedesktop.org field ...."

Ittook me almost 3 days trying to install Maemo SDK ...

Hope someone can help me fix these issues

Well, at least I'm in good company..... ;)

So, you got SDK installed after 3 days or are you saying you still are trying to get it installed after 3 days of trying????

hx54fun 2010-05-27 17:26

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
:( ..... i'm still trying to get it installed after 3 days .
someone plz help me ..

patate 2010-05-27 19:55

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
I just copied /etc/resolv.conf to /scratchbox/etc/resolv.conf and install went through!

http://maemo.org/community/maemo-dev...ory_fremantle/

MohammadAG 2010-05-27 20:05

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
Quote:

Originally Posted by ArchiMark (Post 683018)
Hmmmm....well, glad to hear that your install went well, MohammadAG...

I just tried again, and now it won't connect to repository again.... :confused:

Everyone, are you using the 'standard install' or 'customized install' option? I've been using the 'customized' option...

Also, after getting partially installed and then trying again, installer says "The fremantle armel and fremantle x86 targets already exist, please choose appropriate action.' Gives me 2 choices; 'create new ones' or 'overwrite existing targets'. I've tried both ways and doesn't seem to make a difference in end result...

Any suggestions??

Hmm, I didn't do a clean install, I just upgraded my existing SDK.
But to answer your question, I've never used the GUI installer, I went for the scripts instead (since I can actually resume downloads there).
http://wiki.maemo.org/Documentation/...K_Installation
Can you try using those?
Also refer to the Ubuntu 10.04 notes, hope this helps.

ArchiMark 2010-05-27 20:56

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
Quote:

Originally Posted by patate (Post 683905)
I just copied /etc/resolv.conf to /scratchbox/etc/resolv.conf and install went through!

http://maemo.org/community/maemo-dev...ory_fremantle/

Thanks for the tip, patate....

Tried that but I get error message:

Code:


Failed to fetch http://repository.maemo.org/dists/fremantle/4bc37c7c77ebe90177c050b805axxxxxxx/nokia/binary-armel/Packages.gz  404 Not Found
Failed to fetch http://repository.maemo.org/dists/fremantle/4bc37c7c77ebe90177c050b805xxxxxx/binaries/binary-armel/Packages.gz  404 Not Found
Reading package lists... Done
W: Couldn't stat source package list http://repository.maemo.org fremantle/4bc37c7c77ebe90177c050b805xxxxxx/nokia Packages (/var/lib/apt/lists/repository.maemo.org_dists_fremantle_4bc37c7c77ebe90177c050b805xxxxxx_nokia_binary-armel_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://repository.maemo.org fremantle/4bc37c7c77ebe90177c050b805xxxxxx/binaries Packages (/var/lib/apt/lists/repository.maemo.org_dists_fremantle_4bc37c7c77ebe90177c050b805xxxxxx_binaries_binary-armel_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_ARMEL: ~] >


MohammadAG 2010-05-27 20:58

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
ping google.com
Check the /etc/resolv.conf file

ArchiMark 2010-05-27 20:59

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
Quote:

Originally Posted by MohammadAG (Post 683931)
Hmm, I didn't do a clean install, I just upgraded my existing SDK.
But to answer your question, I've never used the GUI installer, I went for the scripts instead (since I can actually resume downloads there).
http://wiki.maemo.org/Documentation/...K_Installation
Can you try using those?
Also refer to the Ubuntu 10.04 notes, hope this helps.

Funny, you mention this, as I decided to uninstall and then reinstall using the manual approach per then wiki...seemed to go a bit smoother...but as you can see in my post above, still have problem downloading nokia-binaries nokia-apps......


Any other ideas???

ArchiMark 2010-05-27 21:06

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
Quote:

Originally Posted by MohammadAG (Post 684055)
ping google.com
Check the /etc/resolv.conf file

Thanks, here you go:

Code:

# Generated by NetworkManager
domain rwc.ca.xx.org.
search rwc.ca.xx.org.
nameserver 1x.242.31.xxx
nameserver 1x.233.15.xxx

* Please note that I changed a few characters to 'x' since this is related to my workplace....

UPDATE

Decided to try installing the 'X86' 'nokia-binaries' and 'nokia-apps'.... apt-get install worked for these!......

So, assume there's some sort of server issue for the 'ARMEL' stuff.....

ArchiMark 2010-05-28 15:07

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
Just tried to get the FREMANTLE_ARMEL nokia-binaries nokia-apps again this morning....

Same problem as yesterday, get '404 Not Found' error message...

Anyone able to get through to server and get these files?

Any workaround for this or do I have to just keep trying periodically??

Thanks.

patate 2010-05-29 05:46

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
weird that it worked for x86 but not armel
can you verify that your /etc/apt/sources.list in x86 matches the one in armel ?
maybe you just did not add the required sources for armel environment ?

ArchiMark 2010-05-29 19:06

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
Quote:

Originally Posted by patate (Post 687383)
weird that it worked for x86 but not armel
can you verify that your /etc/apt/sources.list in x86 matches the one in armel ?
maybe you just did not add the required sources for armel environment ?

Thanks for your help, patate....

Yes, it is weird....but when you accept the EULA on the Nokia website it ONLY gives you ONE repository source line to add to both the armel and x85 sources list, so, 'same address' for both targets....

I checked the armel sources list again and it matches the one shown on the EULA page and which did work for the x86 targets.....

Just very strange....tried it again and still get same thing '404 Not Found...'

UPDATE: Finally success!!!!

Turns out that I put 'nokia binaries' instead of 'nokia-binaries' in the armel sources list line....so, just a missing hyphen caused all this aggravation....maybe at least this will help someone else save some time and energy....



ravi_maemo 2010-06-01 16:45

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
Quote:

Originally Posted by ArchiMark (Post 683018)
Hmmmm....well, glad to hear that your install went well, MohammadAG...

I just tried again, and now it won't connect to repository again.... :confused:

Everyone, are you using the 'standard install' or 'customized install' option? I've been using the 'customized' option...

Also, after getting partially installed and then trying again, installer says "The fremantle armel and fremantle x86 targets already exist, please choose appropriate action.' Gives me 2 choices; 'create new ones' or 'overwrite existing targets'. I've tried both ways and doesn't seem to make a difference in end result...

Any suggestions??

hi...still I am facing same issue...can u tell me the solution ?

ArchiMark 2010-06-01 17:06

Re: Problem Install SDK - Due to New PR1.2 Release or ?
 
Quote:

Originally Posted by ravi_maemo (Post 694191)
hi...still I am facing same issue...can u tell me the solution ?

Did you read my UPDATE in my post above yours?

;)


All times are GMT. The time now is 08:50.

vBulletin® Version 3.8.8