Control: reassign -1 util-linux Control: forcemerge -1 907194 On Sun, Dec 26, 2021 at 06:18:23PM +0100, Lucio Messina wrote: > I confirm that root's PATH does not contain /usr/sbin in my debian testing > (bookworm) fresh install. I acquired the root shell using the `su` command. > Then I ran `dpkg-reconfigure locales` but I got the error `bash: > dpkg-reconfigure: command not found` so I ran `/usr/sbin/dpkg-reconfigure > locales` as explained before.
"su" preserves the calling user's PATH by default. Use "su -l" or "sudo -i" instead, and see https://bugs.debian.org/907194. -- Colin Watson (he/him) [cjwat...@debian.org]