maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Problem with installing SDK in Ubuntu 9.10 (https://talk.maemo.org/showthread.php?t=33741)

Maerkus 2009-10-30 18:29

Problem with installing SDK in Ubuntu 9.10
 
Hello,

I'm a Linux/Ubuntu newbie and tried to install the SDK 5.0 in the latest Ubuntu 9.10.

I used this description with the stable versions and did it step by step. Everything was OK until "./maemo-sdk-install_5.0.sh". After this command and some time I get this error message at the end:
Processing was halted because there were too many errors.
E: Sub-process /scratchbox/devkits/debian-etch/bin/dpkg returned an error code (1)
E: Unable to install maemo-sdk-dev on FREMANTLE_ARMEL target.
E: Please check the sources.list for errors.
E: Scratchbox login returned error 100.
Can somebody help me with my problem? Thx!

allnameswereout 2009-10-30 18:59

Re: Problem with installing SDK in Ubuntu 9.10
 
Please follow this guide it is more up to date:

http://wiki.maemo.org/Documentation/...K_Installation

danielwilms 2009-11-02 08:18

Re: Problem with installing SDK in Ubuntu 9.10
 
Hi,

it seems that there is one step missing (Step 4, same URL given byallnameswereout ). So please log out and then in again and it should work. Other possibility is to run:
Code:

$ newgrp sbox
Cheers Daniel

robbie 2009-11-02 08:44

Re: Problem with installing SDK in Ubuntu 9.10
 
And did you disable VDSO?

http://wiki.maemo.org/Documentation/...n#VDSO_support

The solutions provided there, won't work in Ubuntu 9.10 though. You'll have to add the vdso32=0 kernel parameter in boot options.

yankii 2009-11-08 22:54

Re: Problem with installing SDK in Ubuntu 9.10
 
Have you been able to get this working yet? I am getting similar results when trying to install the maemo 5 SDK except I am getting also time outs when the script tries to get the packages and the script fails to install maemo-sdk-dev. I am using ubuntu 9.10 64-bit version. I tried what you guys suggested but without any luck so far. Here's what I get as a result from running maemo-sdk-install_5.0.sh:

Failed to fetch http://repository.maemo.org/pool/mae...+0m5_armel.deb Connection timed out [IP: 93.158.111.8 80]
Failed to fetch http://repository.maemo.org/pool/mae...+0m5_armel.deb Connection timed out [IP: 93.158.111.8 80]
Failed to fetch http://repository.maemo.org/pool/mae...+0m5_armel.deb Connection timed out [IP: 93.158.111.8 80]
Failed to fetch http://repository.maemo.org/pool/mae...+0m5_armel.deb Connection timed out [IP: 93.158.111.8 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
E: Unable to install maemo-sdk-dev on FREMANTLE_ARMEL target.
E: Please check the sources.list for errors.
E: Scratchbox login returned error 100.

Andre Klapper 2009-11-09 14:14

Re: Problem with installing SDK in Ubuntu 9.10
 
yankii: Looks like the server is down. Different issue, and already two other threads covering it...

yankii 2009-11-09 20:10

Re: Problem with installing SDK in Ubuntu 9.10
 
Quote:

Originally Posted by Andre Klapper (Post 369644)
yankii: Looks like the server is down. Different issue, and already two other threads covering it...

Thanks for your reply Andre,

Did you mean these two:
http://forums.internettablettalk.com...ad.php?t=33929
and
http://forums.internettablettalk.com...ad.php?t=33880

In that case I am still just trying to run the sdk installer script in order to create the targets into scratchbox. I can not try out the 99proxy solution introduced by cocayden because there is no such file on my targets. I also checked the solution provided by Flandry for the resolv.conf files and mine we're and they included the nameserver information. I ran also apt-get update inside scratchbox for both targets.

Any idea how long it usually take for the servers to go back up? At least pinging the timed out IP works fine.

kouky 2009-11-24 22:15

Re: Problem with installing SDK in Ubuntu 9.10
 
I am also having an error while installing final Maemo 5 SDK on fresh Ubuntu 9.10 system

The installation goes fine until step 5/11 ( 36%), but then:
Code:

Checking for prerequisites
--------------------------

wget tool in path... /usr/bin/wget
Checking for dpkg tool in path... /usr/bin/dpkg
Running outside of scratchbox... yes
Script not run as user root... yes
Scratchbox installation found... yes
Scratchbox home directory... yes
Scratchbox sb-conf tool... yes
Scratchbox user's bind mount... yes
Scratchbox user's /dev set up... yes
Scratchbox home directory... yes
Scratchbox login... yes
Scratchbox login executable... yes
Scratchbox sb-conf tool works... yes
Scratchbox version requirement met... yes
Scratchbox CPU transparency method for ARMEL is present... yes
Scratchbox toolchains... yes
Scratchbox required devkits... yes
Host kernel VDSO support... yes
Check for scratchbox sessions running...
DISPLAY already set.
Installation environment already set.
Added debconf frontend setting in scratchbox.
Acceptance to reset existing targets... no
E: Targets already exist (FREMANTLE_X86 and FREMANTLE_ARMEL)
E: You need to force overwriting existing targets with '-y'.
V [23:07:14 24.11.2009]: Failed to install SDK
V [23:07:14 24.11.2009]: ----- Begin logging exception -----
Traceback (most recent call last):
  File "./maemo-sdk-install-wizard_5.0.py", line 2705, in run
    task()
  File "./maemo-sdk-install-wizard_5.0.py", line 2374, in __taskInstallSdk
    raise Exception("Failed to install SDK")
Exception: Failed to install SDK
V [23:07:14 24.11.2009]: ----- End logging exception -----
V [23:07:14 24.11.2009]: Executor set exit status to (status_error)

Any suggestions?

MountainX 2009-11-24 22:21

Re: Problem with installing SDK in Ubuntu 9.10
 
Quote:

Originally Posted by kouky (Post 390088)
Any suggestions?

a suggestion:
force overwriting existing targets with '-y'.

I have no idea if that is a good suggestion, but I got it from reading the log you posted. Did you install an earlier version or something like that?

kouky 2009-11-24 22:29

Re: Problem with installing SDK in Ubuntu 9.10
 
Thank you,
but I'm new to Linux and don't know what means "force overwriting existing targets with '-y'."

No previous installation was there: my ubuntu is fresh, running on a mac via Parallels Desktop virtual machine


All times are GMT. The time now is 02:07.

vBulletin® Version 3.8.8