on fresh installed Debian Buster (installed yesterday, with xfce) i get following if i try to install a deb package (as root)
all in xfce terminal switched to root with su
Code: Select all
root@europa:/home/europa/Downloads# dpkg -i code_1.38.1-1568209190_amd64.deb
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
echo $PATH in console (as root) returns:
Code: Select all
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
Code: Select all
if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
...
Code: Select all
0
just tried at last, as user with sudo works but not more if i switched with su to root.