Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Maemo SDK+ installation; "couldn't download debian repository file"

    Reply
    jgombos | # 1 | 2009-09-12, 20:41 | Report

    After setting up a 32 bit chrooted environment, I installed Maemo SDK+ and then ran "sudo maemo-sdk --mirror ftp.be.debian.org install tools etch-2008" (using a mirror). The downloads were successful, but in the end this was output:
    Code:
    Running as user root... yes
    Not running as user root inside fakeroot... yes
    Running outside of scratchbox... yes
    Running on Linux kernel... yes
    curl tool in path... /usr/bin/curl
    debootstrap tool in path... /usr/sbin/debootstrap
    Install path is sane... yes
    Debian Release is found... no
    E: Couldn't download Debian Repository file
    Please, run this operation as root.
    I was in fact running as root.

    [EDIT] I just removed the use of a mirror, and it worked. At least, it made more progress.

    This is the next problem:

    Code:
    texhash: Done.
    
    Setting up linuxdoc-tools-info (0.9.21-0.5) ...
    
    Setting up sgmltools-lite (3.0.3.0.cvs.20010909-13) ...
    
    Setting up texi2html (1.76-4) ...
    
    Setting up texlive-generic-recommended (2005.dfsg.3-1) ...
    Running mktexlsr. This may take some time... done.
    
    Setting up xmlto (0.0.18-5.1) ...
    Setting up debmake (3.8.3) ...
    Setting up dh-consoledata (0.7.69) ...
    Errors were encountered while processing:
     texlive-latex-base
     texlive-latex-recommended
     tipa
     jadetex
     docbook-utils
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install.  Trying to recover:
    Setting up texlive-latex-base (2005.dfsg.3-1) ...
    Running mktexlsr. This may take some time... done.
    Building format(s) --byfmt latex. This may take some time...
    fmtutil-sys failed. Output has been stored in
    /tmp/texlive.fmtutil.leO26550
    Please include this file if you report a bug.
    
    dpkg: error processing texlive-latex-base (--configure):
     subprocess post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of jadetex:
     jadetex depends on tetex-bin | texlive-latex-base; however:
      Package tetex-bin is not installed.
      Package texlive-latex-base is not configured yet.
    dpkg: error processing jadetex (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of texlive-latex-recommended:
     texlive-latex-recommended depends on texlive-latex-base | tetex-bin; however:
      Package texlive-latex-base is not configured yet.
      Package tetex-bin is not installed.
    dpkg: error processing texlive-latex-recommended (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of tipa:
     tipa depends on tetex-base (>= 3) | texlive-latex-base; however:
      Package tetex-base is not installed.
      Package texlive-latex-base is not configured yet.
    dpkg: error processing tipa (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of docbook-utils:
     docbook-utils depends on jadetex; however:
      Package jadetex is not configured yet.
    dpkg: error processing docbook-utils (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     texlive-latex-base
     jadetex
     texlive-latex-recommended
     tipa
     docbook-utils
    E: Additional packages couldn't be installed. Sorry.
    E: You may remove '/opt/maemo/dists/etch-2008' directory
    Please, run this operation as root.
    Strange that tex live is being installed. Why would the Maemo SDK+ require LaTeX?

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by jgombos; 2009-09-12 at 21:43. Reason: actually not solved

     
    mwerle | # 2 | 2009-12-03, 15:58 | Report

    Hi jgombos,

    Did you resolve this further?

    I'm getting the same error as you "E: Couldn't download Debian Repository file" and cannot get past this. Running as root, no mirror. I am, however, behind a proxy which I have set with 'maemo-sdk set proxy'.

    Trying to install on debian sid.

    Code:
    viper:~# sudo maemo-sdk install tools lenny-2009-1
    Using proxy 'http://xxx.xxx.xxx.xxx:8080/'...
    --2009-12-03 15:53:56--  http://maemo-sdk.garage.maemo.org/do...-2009-1.config
    Connecting to xxx.xxx.xxx.xxx:8080... connected.
    Proxy request sent, awaiting response... 200 OK
    Length: 1522 (1.5K) [text/plain]
    Saving to: `lenny-2009-1.config'
    
    100%[======================================>] 1,522       --.-K/s   in 0s      
    
    2009-12-03 15:53:56 (89.6 MB/s) - `lenny-2009-1.config' saved [1522/1522]
    
    Using proxy 'http://xxx.xxx.xxx.xxx:8080/'...
    --2009-12-03 15:53:56--  http://maemo-sdk.garage.maemo.org/do...9-1.postconfig
    Connecting to xxx.xxx.xxx.xxx:8080... connected.
    Proxy request sent, awaiting response... 200 OK
    Length: 0 [text/plain]
    Saving to: `lenny-2009-1.postconfig'
    
        [ <=>                                   ] 0           --.-K/s   in 0s      
    
    2009-12-03 15:53:56 (0.00 B/s) - `lenny-2009-1.postconfig' saved [0/0]
    
    This script will Installs Debian 'lenny' tools distribution in target path.
    
    Install options
    ---------------
    
    Install options
    Debian release          lenny
    Debian source           http://ftp.debian.org/debian
    Extra packages:         
    Distribution root:      /opt/maemo/dists/lenny-2009-1
    
    Checking for prerequisites
    --------------------------
    
    Running as user root... yes
    Not running as user root inside fakeroot... yes
    Running outside of scratchbox... yes
    Running on Linux kernel... yes
    curl tool in path... /usr/bin/curl
    debootstrap tool in path... /usr/sbin/debootstrap
    Install path is sane... yes
    Debian Release is found... no
    E: Couldn't download Debian Repository file
    Please, run this operation as root.
    viper:~#
    Cheers,
    - Micha.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jgombos | # 3 | 2009-12-03, 17:29 | Report

    I wrote a detailed wiki on this:

    http://wiki.maemo.org/Maemo_SDK%2B_i...an_%28AMD64%29

    Essentially the issue is that SDK+ only works on 32bit platforms.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by jgombos; 2009-12-03 at 17:37.

     
    mwerle | # 4 | 2009-12-03, 18:39 | Report

    Bummer re your missing Wiki entry. Ended up finding the missing ingredient (hidden inside the maemo-sdk script):

    Originally Posted by
    Note that when installing behind HTTP proxy, make sure that sudo propagates 'http_proxy' environment variable to super-user shell. At least sudo in debian is configured so that it doesn't do this so you might want to do following:

    % sudo env http_proxy="http://myproxy:myport" maemo-sdk install ..

    or something similar.
    Kindof odd it didn't work in my root shell when I already had that environment variable configured..


    Another thing missing when following the instructions (http://maemo-sdk.garage.maemo.org/install-debian.html) is that the dependencies for maemopad first need to be installed into the scratchbox2 environment before it can be compiled. Ah well, early days I suppose

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jgombos | # 5 | 2009-12-03, 20:06 | Report

    Originally Posted by mwerle View Post
    Bummer re your missing Wiki entry.
    I found my wiki article, and revised my post above.

    The wiki was there all along, it's just not straight forward to navigate to it on this site.

    Anyway, looks like your issue was totally different. My issue turned out being that SDK+ is 32 bit only, and I was on a 64 bit arch.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by jgombos; 2009-12-03 at 20:08.

     
vBulletin® Version 3.8.8
Normal Logout