Seite 1 von 1

opsi paket matlab

Verfasst: 06 Mär 2024, 14:11
von asmaa
Guten Tag, bei der Installation von Matlab Paket kriege ich diese Fehler Meldung, den ich stunden, lang nicht beheben konnte, woran liegt das genau , was soll ich machen? Lokal fncktionniert alles Einwand frei , beim Schicken des Pakets nach Opsi server , tritt dieser Fehler auf , die preinst Datei ist im Verzeichnis mit drinnen und sollte ebenfalls mit drinnen in das Paket sein , anscheinend aber nicht :( könnte jemanden helfen

Code: Alles auswählen

  Ein Fehler ist aufgetreten:
   Fehler beim Bearbeiten von Install of package(s) /home/opsiproducts/matlab2023_2023-1.opsi on depot 'opsi.ist.rwth-aachen.de':
      Backend error: Failed to install package '/home/opsiproducts/matlab2023_2023-1.opsi' on depot 'opsi.ist.rwth-aachen.de': Failed to execute package script preinst' of package '/home/opsiproducts/matlab2023_2023-1.opsi': Command '/tmp/                                                  .opsi.unpack.Z1VgR/OPSI/preinst' failed (127):
/bin/sh: 1: /tmp/.opsi.unpack.Z1VgR/OPSI/preinst: not found

Re: opsi paket matlab

Verfasst: 07 Mär 2024, 07:11
von j.schneider
Hallo!

Existiert auf dem System die Datei /bin/sh ?

Grüße
Jan Schneider

Re: opsi paket matlab

Verfasst: 07 Mär 2024, 10:15
von asmaa
Hallo , ja sie existiert bereit als symbolische Link zur dasch . dies Problem Tritt nur mit Matlab auf

Re: opsi paket matlab

Verfasst: 07 Mär 2024, 13:09
von SisterOfMercy
Do you have enough rights on the directory the package is currently in?

Re: opsi paket matlab

Verfasst: 11 Mär 2024, 15:49
von asmaa
yes normally , what can i do to check ?

Re: opsi paket matlab

Verfasst: 11 Mär 2024, 16:35
von SisterOfMercy
Show the output of ls --hal

Re: opsi paket matlab

Verfasst: 12 Mär 2024, 10:35
von asmaa

Code: Alles auswählen

drwxrws---  5 kidai     pcpatch 4,0K Mär  6 09:01 matlab2023
this is what it shows me , reading and writing rights are okey

Re: opsi paket matlab

Verfasst: 12 Mär 2024, 18:15
von SisterOfMercy
I see a directory, but you have a complete .opsi package?

Try copying the .opsi file to /var/lib/opsi/workbench/
If you don't have that directory you must be running a very old version of opsi.

Anyway, if the .opsi file is in a location that opsi considers its own, you should be able to run this:
# opsi-setup --set-rights
Then see if the rights have changed to something opsi can use. Over here it looks like this:

Code: Alles auswählen

-rw-rw----.   1 opsiconfd opsifileadmins 199M May  7  2021 blahblah.opsi