Problem:
Debian Jessie: Installieren von Nodejs schlug fehl.
Fehlermeldung:
1 2 3 4 5 |
dpkg: warning: 'ldconfig' not found in PATH or not executable dpkg: warning: 'start-stop-daemon' not found in PATH or not executable dpkg: error: 2 expected programs not found in PATH or not executable Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin E: Sub-process /usr/bin/dpkg returned an error code (2) |
Lösung:
1 |
sudo nano /etc/sudoers |
Folgende Zeilen müssen vorhanden sein:
1 2 |
Defaults env_reset Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |