Debian10 seems to have removed the commands poweroff, reboot and dpkg-reconfigure, probably among others. What do I do instead of dpkg-reconfigure locales?
As a side note, I read the release notes and I think it's ridiculous this stuff isn't screamed at you when you read them.
# dpkg-reconfigure
bash: dpkg-reconfigure: command not found
edit: I am already aware I can get the dpkg-configure bin by installing a package: debconf. This package was not installed by default. This normally indicates deprecation.
Best Answer
This is the behaviour if you switched to root using
su
instead ofsu -
, for example. In Debian 10dpkg-reconfigure
is located in/usr/sbin/
, so it has to be in thePATH
.Compare these two
PATH
-variables:There you'll see that the environment set bei
su
does not includesbin
in thePATH
, sodpkg-reconfigure
won't be found.debconf
should be installed by default, though.