insserv fehler bei apt-get upgrade

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
Parasitecat
Beiträge: 12
Registriert: 18.02.2012 16:08:46

insserv fehler bei apt-get upgrade

Beitrag von Parasitecat » 28.03.2012 22:02:01

seit ich mal mediatomb installieren wollte, habe ich immer folgende fehler wenn ich apt-get upgrade ausführe.
die mediatomb installation konnte auch nicht erfolgreich beendet werden.
kann mir evtl jmd helfen dieses zu beheben?
vielen dank schonmal im vorraus!

MfG Mietze

[np] apt-get upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
Die folgenden Pakete werden aktualisiert (Upgrade):
gir1.0-json-glib-1.0 kwalletmanager libbrlapi0.5 libjson-glib-1.0-0 libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 openssh-client
openssh-server openvpn policykit-1 procps python-brlapi
13 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Es müssen noch 0 B von 2.804 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 36,9 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren [J/n]? j
Lese Changelogs... Fertig
Vorkonfiguration der Pakete ...
initscripts (2.88dsf-13.1+squeeze1) wird eingerichtet ...
insserv: warning: script 'K01nxserver' missing LSB tags and overrides
insserv: warning: script 'K01nxsensor' missing LSB tags and overrides
insserv: warning: script 'nxserver' missing LSB tags and overrides
insserv: warning: script 'nxsensor' missing LSB tags and overrides
insserv: There is a loop at service rmnologin if started
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxserver depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service nfs-kernel-server at depth 6
insserv: There is a loop between service rmnologin and mountnfs if started
insserv: loop involving service mountnfs at depth 6
insserv: loop involving service nfs-common at depth 5
insserv: There is a loop between service rmnologin and checkroot if started
insserv: loop involving service checkroot at depth 3
insserv: loop involving service keyboard-setup at depth 2
insserv: There is a loop between service rmnologin and pcmcia if started
insserv: loop involving service pcmcia at depth 2
insserv: loop involving service udev at depth 1
insserv: loop involving service fuse at depth 11
insserv: There is a loop between service rmnologin and mountall if started
insserv: loop involving service mountall at depth 6
insserv: loop involving service checkfs at depth 5
insserv: loop involving service mtab at depth 4
insserv: loop involving service module-init-tools at depth 4
insserv: loop involving service hwclockfirst at depth 3
insserv: loop involving service hostname at depth 4
insserv: loop involving service networking at depth 10
insserv: There is a loop between service nxserver and bootlogd if started
insserv: loop involving service bootlogd at depth 3
insserv: loop involving service mountdevsubfs at depth 2
insserv: There is a loop between service rmnologin and ifupdown-clean if started
insserv: loop involving service ifupdown-clean at depth 7
insserv: There is a loop between service rmnologin and mountkernfs if started
insserv: loop involving service mountkernfs at depth 1
insserv: There is a loop at service nxserver if started
insserv: There is a loop between service rmnologin and mountdevsubfs if started
insserv: loop involving service keymap at depth 5
insserv: There is a loop between service rmnologin and mountall-bootclean if started
insserv: loop involving service mountall-bootclean at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: Fehler beim Bearbeiten von initscripts (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
configured to not write apport reports
Fehler traten auf beim Bearbeiten von:
initscripts
E: Sub-process /usr/bin/dpkg returned an error code (1)[/np]
Zuletzt geändert von Parasitecat am 30.03.2012 21:03:27, insgesamt 4-mal geändert.

Benutzeravatar
TRex
Moderator
Beiträge: 8375
Registriert: 23.11.2006 12:23:54
Wohnort: KA

Re: insserv fehler bei apt-get upgrade

Beitrag von TRex » 28.03.2012 23:32:47

Jesus saves. Buddha does incremental backups.
Windows ist doof, Linux funktioniert nichtDon't break debian!Wie man widerspricht

Parasitecat
Beiträge: 12
Registriert: 18.02.2012 16:08:46

Re: insserv fehler bei apt-get upgrade

Beitrag von Parasitecat » 29.03.2012 21:03:39

ok, vielen dank.

aber um aus dem link schlau zu werden, habe ich etwas zu wenig ahnung, da ich mich noch nicht sehr lange mit debian beschäftige.

wäre es evtl möglich, mir ein klein wenig auf die sprünge zu helfen?

MfG Mietze

Benutzeravatar
TRex
Moderator
Beiträge: 8375
Registriert: 23.11.2006 12:23:54
Wohnort: KA

Re: insserv fehler bei apt-get upgrade

Beitrag von TRex » 29.03.2012 22:10:54

Hättest doch nur lesen müssen. Ich weiß, ist ein bisschen viel, aber so gehts uns mit dem Output von dir auch, der übrigens der Länge wegen nach nopaste gehört.
Try to add these to the init.d scripts in question and see if it help.

### BEGIN INIT INFO
# Provides: nxserver
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Should-Start: $syslog
# Should-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start or stop nxserver
### END INIT INFO

### BEGIN INIT INFO
# Provides: nxsensor
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Should-Start: $syslog
# Should-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start or stop nxserver
### END INIT INFO
Die beiden Abschnitte müssen in die beiden init-Scripts in /etc/init.d/ (am Dateikopf), dem Betroffenen dort hat das geholfen (wie du hättest lesen können).
Jesus saves. Buddha does incremental backups.
Windows ist doof, Linux funktioniert nichtDon't break debian!Wie man widerspricht

rendegast
Beiträge: 15041
Registriert: 27.02.2006 16:50:33
Lizenz eigener Beiträge: MIT Lizenz

Re: insserv fehler bei apt-get upgrade

Beitrag von rendegast » 30.03.2012 10:53:41

TRex hat geschrieben: Die beiden Abschnitte müssen in die beiden init-Scripts in /etc/init.d/ (am Dateikopf),
Der LSB-Header kann auch irgendwo im Skript stehen.
'man insserv' hat geschrieben: OVERRIDES
Beside using the extensions ,start=<lvl1,lvl2,...> and ,stop=<lvl1,lvl2,...> it is possible to use
override files replace a LSB comment header or simple provide a missing LSB comment header. This
can be done by placing a file with the new LSB comment header using the same name as the boot or
init script in the directory /etc/insserv/overrides/
.
For third party boot scripts without LSB
header it is possible to add a file with the same name in the directory /usr/share/insserv/over‐
rides/
to make them completely LSB compliant.
(resp. auch /etc/insserv/overrides/)
mfg rendegast
-----------------------
Viel Eifer, viel Irrtum; weniger Eifer, weniger Irrtum; kein Eifer, kein Irrtum.
(Lin Yutang "Moment in Peking")

Parasitecat
Beiträge: 12
Registriert: 18.02.2012 16:08:46

Re: insserv fehler bei apt-get upgrade

Beitrag von Parasitecat » 30.03.2012 21:01:26

ok, nach dem einfügen in die scripts, war der fehler leider immernoch vorhanden.

anschließend habe ich nxserver, nxnode und nxclient deinstalliert und mir dafür als alternative x2go installiert.
und siehe da, upgrade läuft ohne probleme durch.
sogar mediatomb hat sich jetzt installieren lassen.

vielen dank für die hilfe!

P.S.: sehr gutes Forum, super hilfe in kurzer zeit!

MfG Mietze

rendegast
Beiträge: 15041
Registriert: 27.02.2006 16:50:33
Lizenz eigener Beiträge: MIT Lizenz

Re: insserv fehler bei apt-get upgrade

Beitrag von rendegast » 31.03.2012 07:42:52

insserv: warning: script 'K01nxserver' missing LSB tags and overrides
insserv: warning: script 'K01nxsensor' missing LSB tags and overrides
insserv: warning: script 'nxserver' missing LSB tags and overrides
insserv: warning: script 'nxsensor' missing LSB tags and overrides
Irgendwie stimmte oder stimmt da was nicht, denn
nxclient_3.5.0-7_i386.deb
nxnode_3.5.0-7_i386.deb
nxserver_3.5.0-9_i386
->

Code: Alles auswählen

# cat nxsensor nxserver | grep "BEGIN INIT" -A9
### BEGIN INIT INFO
# Provides:       nxsensor
# Required-Start: $remote_fs $all
# Should-Start:
# Required-Stop:
# Default-Start:  2 3 5
# Default-Stop:   0 6
# Description:    Starts and stops the NoMachine NX Sensor.
### END INIT INFO

--
### BEGIN INIT INFO
# Provides:       nxserver
# Required-Start: $remote_fs $all
# Should-Start:
# Required-Stop:
# Default-Start:  2 3 5
# Default-Stop:   0 6
# Description:    Starts and stops the NoMachine NX Server.
### END INIT INFO
vorhanden und okay. (obwohl "2 3 5" eher suse-artig ist.)
insserv: Starting nxsensor depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: There is a loop between service rmnologin and ..... if started
Hattest Du daran schon herumgedreht, oder verwendetest eine andere Version als 3.5.0-7 / 3.5.0-9?
mfg rendegast
-----------------------
Viel Eifer, viel Irrtum; weniger Eifer, weniger Irrtum; kein Eifer, kein Irrtum.
(Lin Yutang "Moment in Peking")

liv
Beiträge: 2
Registriert: 08.04.2012 16:16:16

Re: insserv fehler bei apt-get upgrade

Beitrag von liv » 08.04.2012 16:28:43

hi,
ich bin hab debian nicht so lange und es traf bei mir ähnliches problem auf. oben genanntes bringt mich aber nicht weiter
die ausgabe: http://pastebin.com/Z8UXHy6j

grüße

rendegast
Beiträge: 15041
Registriert: 27.02.2006 16:50:33
Lizenz eigener Beiträge: MIT Lizenz

Re: insserv fehler bei apt-get upgrade

Beitrag von rendegast » 08.04.2012 18:42:00

@liv
Wurde wohl auch schon öfter behandelt,
validen LSB-Header als /etc/insserv/overrides/vpnagentd_init erstellen.
mfg rendegast
-----------------------
Viel Eifer, viel Irrtum; weniger Eifer, weniger Irrtum; kein Eifer, kein Irrtum.
(Lin Yutang "Moment in Peking")

Cae
Beiträge: 6349
Registriert: 17.07.2011 23:36:39
Wohnort: 2130706433

Re: insserv fehler bei apt-get upgrade

Beitrag von Cae » 08.04.2012 18:44:30

Schau' in Zeile 10 und 11, diese Skripte sind von irgendwoher installiert worden und haben keine LSB-Header (die sie bräuchten). Willkommen im Forum.

Gruß Cae
If universal surveillance were the answer, lots of us would have moved to the former East Germany. If surveillance cameras were the answer, camera-happy London, with something like 500,000 of them at a cost of $700 million, would be the safest city on the planet.

—Bruce Schneier

liv
Beiträge: 2
Registriert: 08.04.2012 16:16:16

Re: insserv fehler bei apt-get upgrade

Beitrag von liv » 08.04.2012 19:04:04

Danke. Problem gelöst.

Antworten