Siduction Forum
Siduction Forum => Upgrade Warnings => Topic started by: DeKa on 2018/09/23, 11:33:28
-
Was bedeutet das?
dpkg: Warnung: »ldconfig« wurde im PATH nicht gefunden oder ist nicht ausführbar
dpkg: Warnung: »start-stop-daemon« wurde im PATH nicht gefunden oder ist nicht ausführbar
dpkg: Fehler: 2 erwartete Programme nicht im PATH gefunden oder nicht ausführbar
Beachten Sie: PATH von root sollte normalerweise /usr/local/sbin, /usr/sbin und /sbin enthalten
E: Sub-process /usr/bin/dpkg returned an error code (2)
[\code]
-
Da auch ein "apt upgrade" nicht funktionierte habe ich mein System-Backup eingespielt und nochmals das apt dist-upgrade durchlaufen lassen und siehe da es läuft wieder.
Merkwürdig ist es aber trotzdem, hatte keine Installationen in der Zeit durchgeführt und auch nichts gelöscht.
-
Hi @absolut, das dachte ich mir auch.
Weil ich aber nichts am System gemacht habe ist es doch verwunderlich daß diese Meldung kommt.
System Backup eingespielt und dist-upgrade läuft einwandfrei durch.
-
@DeKa
Falls die Meldung wieder auftaucht – und das wird es, melde dich als root mit su - an und nicht mit su.
$ su -
Password:
Siehe https://forum.siduction.org/index.php?topic=7279.msg59220#msg59220
util-linux (2.32-0.4) unstable; urgency=medium
The util-linux implementation of /bin/su is now used, replacing the
one previously supplied by src:shadow (shipped in login package), and
bringing Debian in line with other modern distributions. The two
implementations are very similar but have some minor differences (and
there might be more that was not yet noticed ofcourse), e.g.
- new 'su' (with no args, i.e. when preserving the environment) also
preserves PATH and IFS, while old su would always reset PATH and IFS
even in 'preserve environment' mode.
- new 'su -' (creating new environment) will do just that, while old
su would always preserve content of DISPLAY and XAUTHORITY
environment variables. Set them as needed (but beware X doesn't give
you any real privileges separation anyway if you can access an X
server of another user). See pam_xauth(8) if you want to reconfigure
pam for seamless xauth keys.
- su '' (empty user string) used to give root, but now returns an error.
- previously su only had one pam config, but now 'su -' is configured
separately in /etc/pam.d/su-l. This file additionally invokes
'pam_keyinit' to revoke the session keyring.
The first difference is probably the most user visible one. Doing
plain 'su' is a really bad idea for many reasons, so using 'su -' is
strongly recommended to always get a newly set up environment similar
to a normal login. If you want to restore behaviour more similar to
the previous one you can add 'ALWAYS_SET_PATH yes' in /etc/login.defs.
-
???
Klar ist das ich mich mit root über Strg-alt+F1 in init3 anmelde.
-
Wo du dich als Root anmeldest ist in dem Zusammenhang egal, das wie zählt, also 'su -' anstatt 'su'.
-
Ich nehm immer sudo - funkt klasse :P
-
Wenn ich mal sudo nutzen muss, vergess ich das ständig, davor zu setzen. Deswegen auf solchen Systemen sudo su und aus die Maus.