[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

([Solved] Fehlermeldung beim ausführen von einem Skript) und ein Prob mit dpkg



Am 25.03.2011 14:39, schrieb David Haller:
Hallo,

Am Fri, 25 Mar 2011, Philipp Lehecka schrieb:
Dann bekomme ich folgende Ausgabe:
++ tempfile
+ temp=/tmp/filei41Fsi
+ openvas-nvt-sync
trap: SIGHUP: bad trap
Das ist vermutlich ein #!/bin/sh Script, aber das das 'sigspec' beim
"trap" die "SIG"-Präfix enthalten darf ist eine Bash-Erweiterung.

==== man bash ====
Signal names are case insensitive and the SIG prefix is optional.
====

Die dash (/bin/sh auf Debian) hat diese Erweiterung nicht, ebenso wie
z.B. die ash (die kennt sogar nur numerische Signale).

Ist also ein Bug in openvas-nvt-sync.

Ersteinmal vielen Dank für eure Unterstützung.
Also das Problem hat sich gelöst. Da ich anfangs eine Syntax Error Ausgabe von Openvas-update bekommen habe, habe ich in der Ersten Zeile von Shell auf bash gewechselt. Dann hat es eine Zeit lang geklappt. Wahrscheinlich hatte sich das dann nach einem Update irgendwann erledigt. Jetzt habe ich auch das Skript auf bash umgestellt und siehe da, keine Fehler mehr.

Leider hat sich bei meinem anderen Problem noch nichts ergeben, trotz intensiver Recherche im Internet. Hier noch einmal das Problem:

Wenn ich z. B. apt-get upgrade ausführen möchte, bekomme ich folgende Ausgabe:

#####################################################################################################
    root@ts2noel001:~# apt-get install -f
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 64 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Setting up shared-mime-info (0.90-1) ...
update-mime-database.real: symbol lookup error: update-mime-database.real: undefined symbol: g_malloc0_n
    dpkg: error processing shared-mime-info (--configure):
subprocess installed post-installation script returned error exit status 127
    configured to not write apport reports
Errors were encountered while processing:
     shared-mime-info
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@ts2noel001:~#
##########################################################################################################

Also wenn jemand noch irgendeinen Tipp ode irgendeine Idee für mich hätte, wäre ich sehr dankbar. Den Bug Eintrag habe ich
bereits abonniert. Big THX @ Herrn Schulz
HTH,
-dnh



Reply to: