DSM 5.0, DS413j, ipkg: not found

  • Ab sofort steht euch hier im Forum die neue Add-on Verwaltung zur Verfügung – eine zentrale Plattform für alles rund um Erweiterungen und Add-ons für den DSM.

    Damit haben wir einen Ort, an dem Lösungen von Nutzern mit der Community geteilt werden können. Über die Team Funktion können Projekte auch gemeinsam gepflegt werden.

    Was die Add-on Verwaltung kann und wie es funktioniert findet Ihr hier

    Hier geht es zu den Add-ons

Status
Für weitere Antworten geschlossen.

mojocl

Benutzer
Registriert
19. Apr. 2014
Beiträge
24
Reaktionspunkte
0
Punkte
1
Hi Leute,

ich wollte mal fragen, ob jemand nen Blick einmal drüber werfen kann, warum bei mir immer wieder "ipkg: not found" erscheint.
Habe das Prozedere 2 mal schon versucht und bin nach folgender Anleitung vorgegangen:

http://blog.technical-life.at/2014/03/howto-ipkg-und-pyload-nach-update-auf-dsm-5-0-installieren/


Rich (BBCode):
NAS_CKA> cd /volume1/public


NAS_CKA> wget http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/stable/syno-x
07-bootstrap_1.2-7_arm.xsh
--2014-05-09 23:39:55--  http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/stable/syno-x07-bootstrap_1.2-7_arm.xsh
Resolving ipkg.nslu2-linux.org... 140.211.169.161
Connecting to ipkg.nslu2-linux.org|140.211.169.161|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 250349 (244K) [text/plain]
Saving to: 'syno-x07-bootstrap_1.2-7_arm.xsh.1'

100%[==========================================>] 250,349      226KB/s   in 1.1s

2014-05-09 23:39:57 (226 KB/s) - 'syno-x07-bootstrap_1.2-7_arm.xsh.1' saved [250349/250349]


NAS_CKA> sh syno-x07-bootstrap_1.2-7_arm.xsh
Optware Bootstrap for syno-x07.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
bootstrap/ipkg.sh
1226+1 records in
1226+1 records out
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
Creating temporary ipkg repository...
Installing optware-bootstrap package...
Unpacking optware-bootstrap.ipk...Done.
Configuring optware-bootstrap.ipk...Done.
Installing ipkg...
Unpacking ipkg-opt.ipk...Done.
Configuring ipkg-opt.ipk...WARNING: can't open config file: /usr/syno/ssl/openssl.cnf
Done.
Removing temporary ipkg repository...
Installing wget...
bootstrap.sh: line 45: /opt/bin/ipkg: not found


BusyBox v1.16.1 (2014-04-18 02:34:15 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

NAS_CKA> cd bootstrap
/bin/sh: cd: can't cd to bootstrap
NAS_CKA> cd /volume1/public/bootstrap/
NAS_CKA> vi bootstrap.sh
#!/bin/sh

# Replaced during packaging based on value in target-specific.mk
REAL_OPT_DIR=/volume1/@optware

if [ -e "$REAL_OPT_DIR" ] ; then
    echo "Backup your configuration settings, then type:"
    echo "  rm -rf $REAL_OPT_DIR"
    echo "  rm -rf /usr/lib/ipkg"
    echo "This will remove all existing optware packages."
    echo
    echo "You must *reboot* and then restart the bootstrap script."
    exit 1
fi

BS_DIR="$REAL_OPT_DIR/ipkg-bootstrap"

echo "Creating temporary ipkg repository..."
rm -rf $BS_DIR
mkdir -p $BS_DIR
ln -s $BS_DIR /tmp/ipkg
cat >>$BS_DIR/ipkg.conf <<EOF
dest root /
- bootstrap.sh 1/54 1%


=======================
I für Insert tippen, in Zeile 21 die 3 Zeichen “-KW” entfernen (ohne “”)

=> Kann diesen Wert nicht sehen
=======================


NAS_CKA> sh bootstrap.sh
Backup your configuration settings, then type:
  rm -rf /volume1/@optware
  rm -rf /usr/lib/ipkg
This will remove all existing optware packages.

You must *reboot* and then restart the bootstrap script.



NAS_CKA>vi /root/.profile

umask 022

#PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/us
#export PATH

#This fixes the backspace when telnetting in.
#if [ "$TERM" != "linux" ]; then
#        stty erase
#fi

HOME=/root
export HOME

TERM=${TERM:-cons25}
export TERM

PAGER=more
export PAGER

PS1="`hostname`> "

alias dir="ls -al"
- /root/.profile 1/24 4%



BusyBox v1.16.1 (2014-04-18 02:34:15 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

NAS_CKA> /etc/rc.optware start
Starting Optware.
NAS_CKA> ipkg update
-ash: ipkg: not found

NAS_CKA> cd /volume1/public/bootstrap
NAS_CKA> ipkg update
-ash: ipkg: not found
NAS_CKA> dir
drwxr-xr-x    2 2001     2001          4096 May  9 23:40 .
d---------    3 root     root          4096 May  9 23:39 ..
-rwxr-xr-x    1 2001     2001          1447 May  9 23:46 bootstrap.sh
-rw-r--r--    1 2001     2001         73658 Feb 20  2012 ipkg-opt.ipk
-rwxr-xr-x    1 2001     2001         27701 May  9 23:40 ipkg.sh
-rw-r--r--    1 2001     2001          1993 Feb 20  2012 optware-bootstrap.ipk
-rw-r--r--    1 2001     2001        164303 Feb 20  2012 wget.ipk
NAS_CKA> ipkg.sh update
-ash: ipkg.sh: not found

NAS_CKA> ln -s /volume1/@optware /opt
NAS_CKA> dir
drwxr-xr-x    2 2001     2001          4096 May  9 23:40 .
d---------    3 root     root          4096 May  9 23:39 ..
-rwxr-xr-x    1 2001     2001          1447 May  9 23:46 bootstrap.sh
-rw-r--r--    1 2001     2001         73658 Feb 20  2012 ipkg-opt.ipk
-rwxr-xr-x    1 2001     2001         27701 May  9 23:40 ipkg.sh
-rw-r--r--    1 2001     2001          1993 Feb 20  2012 optware-bootstrap.ipk
-rw-r--r--    1 2001     2001        164303 Feb 20  2012 wget.ipk
NAS_CKA>


Danke im Voraus,
 
Hallo,

welche CPU hat denn dein NAS, hast du die richtige bootstrap erwischt.

Warum ist in deiner .profile die PATH angaben auskommentiert.
 
Die 413j ist mit einem Kirkwood-Chip mv6282 (ARMv5) ausgestattet. Das syno-x07 ipkg ist dafür nicht richtig, sondern dieses Paket (Quelle).
 
Zuletzt bearbeitet:
mach erst mal das :
Backup your configuration settings, then type:
rm -rf /volume1/@optware
rm -rf /usr/lib/ipkg
This will remove all existing optware packages.
You must *reboot* and then restart the bootstrap script
.


dann mit der richtigen bootstrap neu anfangen

und das editieren der bootstrap ist nicht nötig, bin mir aber nicht sicher, also erst einmal durchlaufen lassen.
 
Du solltest das machen, was goetz in #8 Deines verlinkten Threads schreibt:

umount /opt
rm -rf /volume1/@optware
rm -rf /usr/lib/ipkg
rm /etc/rc.optware

Anschließend rebooten und dann den von mir verlinkten bootstrap installieren.
 
Thx,

scheint nun zu laufen.
Bin jetzt endlich nen Step weiter ;)
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat