This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

pkg Command not found

German community

Moderators: b0ssman, apollo567, Princo, crowi

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
DragonzShadow
NewUser
NewUser
Posts: 3
Joined: 06 Sep 2015 13:57
Status: Offline

pkg Command not found

Post by DragonzShadow »

Hallo, ich bin neu hier im Forum und habe natürlich direkt ein Anliegen.

Ich versuche auf meinem NAS4Free System Sabnzbd zu installieren.
NAS4Free befindet sich auf einem USB Stick(OS Stick) und Sabnzbd soll nun auf einen zweiten USB Stick(Programm Stick) installiert werden.
NAS4Free ist eingerichtet und funktioniert.
Zur Installation von Sabnzbd folge ich dieser Anleitung: http://lifehacker.com/5838169/how-to-tu ... 3Ft%3D1080

Meine Probleme treten in der Anleitung bei der Installation von Python auf.
Nachdem ich die Ordner für Sabnzbd angelegt habe, soll ich unteranderem mein angelegtes "usr" Verzeichnis auf das root-"usr" Verzeichnis mounten:

Code: Select all

mount_unionfs -o w /mnt/SEAGATE/extensions/usr/ /usr/
[...]
Anschließend wird dann Python installiert:

Code: Select all

setenv PACKAGESITE "ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/"
pkg_add -rv python27 py27-sqlite3
[...]
(Bei der neueren Version muss pkg_add -rv durch pkg install ersetzt werden)

Das Problem ist jedoch nun, wenn ich die "usr" Verzeichnisse 'übereinandergelegt' habe, bekomme ich bei dem Versuch Python zu installieren folgende Fehlermeldung: pkg command not found
Bevor ich die "usr" Verzeichnisse mounte wird der befehl pkg noch erkannt.

Folgende Versionen verwende ich:
NAS4Free 10.2.0.2
FreeBSD 10.2
Sabnzbd 0.7.20

Gibt es ein Workaround, wie ich mein Problem lösen kann?

Vielen Dank für eure Hilfe.

LG
DS

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: pkg Command not found

Post by b0ssman »

die anleitung ist out of date.

es gibt in freebsd 10.2 kein pkg_add mehr.

das neue heisst pkg
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

DragonzShadow
NewUser
NewUser
Posts: 3
Joined: 06 Sep 2015 13:57
Status: Offline

Re: pkg Command not found

Post by DragonzShadow »

Hey, danke für deine schnelle Antwort.
es gibt in freebsd 10.2 kein pkg_add mehr.

das neue heisst pkg
Deshalb habe ich ja auch extra hinzugefügt:
(Bei der neueren Version muss pkg_add -rv durch pkg install ersetzt werden)
Ich versuche das mit pkg zu installieren, nicht mit pkg_add

die anleitung ist out of date.
Das weiss ich, aber es muss ja auch (relativ ähnlich hoffe ich) mit der aktuellen Version gehen.

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: pkg Command not found

Post by b0ssman »

im forum gibt es eine aktualisierte anleitung

viewtopic.php?f=79&t=5161
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

DragonzShadow
NewUser
NewUser
Posts: 3
Joined: 06 Sep 2015 13:57
Status: Offline

Re: pkg Command not found

Post by DragonzShadow »

Oh, vielen Dank. Werde ich direkt mal ausprobieren.

Post Reply

Return to “Deutsch”