On a fresh install of Debian 10 (Buster), I switched to root using "su" - but strangely, I couldn't execute "dpkg-reconfigure".
I then saw that all commands in /sbin/ couldn't be "found".
[SOLUTION]
Plain "su" doesn't provide the root-specific PATH variables...
Use "su -" instead of just "su". That's generally the better way:
Code: Select all
$ su -