Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 10 of 11

Hybrid View

  1. #1

    Ipkg failed to download Squeezecenter 7.3.2

    I tried to install Squeezecenter 7.3.2 on a TeraStation Pro v.1 using ipkg. Here is the error message:

    root@SERVER:~# ipkg install squeezecenter
    Installing squeezecenter (7.3.2-1) to root...
    Downloading http://ipkg.nslu2-linux.org/feeds/op.../unstable//squ
    eezecenter_7.3.2-1_powerpc.ipk
    Configuring sed
    //usr/lib/ipkg/info/sed.postinst: /opt/bin/update-alternatives: No such file or
    directory
    postinst script returned status 127
    ERROR: sed.postinst returned 127
    Nothing to be done
    An error ocurred, return value: 22.
    Collected errors:
    ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp
    -q -P /tmp/ipkg-zYXQ66 http://ipkg.nslu2-linux.org/feeds/op...ds101g/cross/u
    nstable//squeezecenter_7.3.2-1_powerpc.ipk'
    Failed to download squeezecenter. Perhaps you need to run 'ipkg update'?

    Needless to say, I have run 'ipkg update'.

    Just before trying SC I tried to install sed and got the same error message. Is this significant?

    Ipkg works because bash successfully installed.

    Thanks,

    Tim T

  2. #2
    I did not know that TeraStation Pro v.1 can use the optware/ds101g powerpc feed. How did you setup ipkg on it? Any pointer to the guide/howto you're following?

    Looking at the build recipe of optware/make/ds101-bootstrap.mk, as part of the bootstrap.xsh, it will install an embedded ipkg-opt.ipk. The ipkg-opt.ipk should include an /opt/bin/update-alternatives. If it's installed under /opt/bin, you can try symlink it to /usr/bin.
    Last edited by bzhou; 2009-01-26 at 19:12.

  3. #3
    To get telnet access, I updated the TS's firmware to version 1.12 by downloading the file from http://homepage.ntlworld.com/itimpi/...tm#TERA_TELNET.

    To install wget to the TS, I downloaded the acp_commander.jar file and entered
    java -jar acp_commander.jar -t <IP ADDRESS> -o -addons
    from the c:\ prompt of my Windows computer.

    To install ipkg on the TS I followed the instructions on this Web page for PowerPC:
    http://buffalo.nas-central.org/index...(for_end-users), specifically:

    wget http://downloads.nas-central.org/LS1...0.99.153-1.tgz
    tar -C / -xvzf powerpc-hdhlan-ipkg-0.99.153-1.tgz

    Then I added the four ipkg feeds to /etc/ipkg.conf that are listed on that Web page.

    As I mentioned, I was able to install flac as well as bash. Here is the output for the flac install (still showing the error installing sed):

    root@SERVER:~# ipkg install flac
    Installing flac (1.2.1-1) to root...
    Downloading http://ipkg.nslu2-linux.org/feeds/op.../unstable/flac
    _1.2.1-1_powerpc.ipk
    Configuring flac
    Configuring sed
    //usr/lib/ipkg/info/sed.postinst: /opt/bin/update-alternatives: No such file or
    directory
    postinst script returned status 127
    ERROR: sed.postinst returned 127
    Successfully terminated.
    root@SERVER:~#

    I am afraid I don't understand your post on how to fix the sed error.

    Any ideas on the problem with installing squeezecenter?

    Thanks,

    Tim T

  4. #4
    Do you have an /opt/bin/update-alternatives file?
    EDIT: you don't have /opt/bin/update-alternatives but have /usr/bin/update-alternatives.
    So you can try "cd /opt/bin; ln -s /usr/bin/update-alternatives ." as a workaround.
    Last edited by bzhou; 2009-01-26 at 23:59.

  5. #5
    Thank you for your help. I have hit a brick wall. My attempts to install Squeezecenter on the Terastation via your ipkg feed are not working. So far, the best I have been able to do is download a tgz file and untar it. But I do not know what to do after that.

  6. #6
    Getting closer ...

    The problem with ipkg is that it was looking for a temporary directory to which to download the file that did not exist. I added the "--tmp-dir" option to force download to the "squeeze" directory. However, I get an error when "sed" runs -- it complains about the invalid option "i". (See install output below.)

    I assume that I need to pick up instructions from here: http://forums.slimdevices.com/showthread.php?t=52466. But how to deal with the invalid option "i"?


    root@SERVER:~# ipkg install --tmp-dir=/squeeze squeezecenter
    Installing squeezecenter (7.3.2-1) to root...
    Downloading http://ipkg.nslu2-linux.org/feeds/op...-1_powerpc.ipk
    Configuring squeezecenter
    Enter SQUEEZECENTER_HOME location [/home/slimserver]:
    sed: invalid option -- i
    Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

    -n, --quiet, --silent
    suppress automatic printing of pattern space
    -e script, --expression=script
    add the script to the commands to be executed
    -f script-file, --file=script-file
    add the contents of script-file to the commands to be executed
    --help display this help and exit
    -V, --version output version information and exit

    If no -e, --expression, -f, or --file option is given, then the first
    non-option argument is taken as the sed script to interpret. All
    remaining arguments are names of input files; if no input files are
    specified, then the standard input is read.

    E-mail bug reports to: bug-gnu-utils@gnu.org .
    Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
    Successfully terminated.
    root@SERVER:~# cd /opt/share/squeezecenter
    root@SERVER:/opt/share/squeezecenter# sed -i.orig -e '/^ .*dbh->STORE.*AutoCommit.*0/s/^/#/' CPAN/DBI.pm
    sed: invalid option -- i
    Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

    -n, --quiet, --silent
    suppress automatic printing of pattern space
    -e script, --expression=script
    add the script to the commands to be executed
    -f script-file, --file=script-file
    add the contents of script-file to the commands to be executed
    --help display this help and exit
    -V, --version output version information and exit

    If no -e, --expression, -f, or --file option is given, then the first
    non-option argument is taken as the sed script to interpret. All
    remaining arguments are names of input files; if no input files are
    specified, then the standard input is read.

    E-mail bug reports to: bug-gnu-utils@gnu.org .
    Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
    root@SERVER:/opt/share/squeezecenter#

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •