[Debconf-devel] Bug#1002636: debconf: dpkg-reconfigure locales crashes because /sbin is not in $PATH
Colin Watson
cjwatson at debian.org
Sun Dec 26 18:25:31 GMT 2021
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) [cjwatson at debian.org]
More information about the Debconf-devel
mailing list