[Debconf-devel] Bug#920567: bash: dpkg-reconfigure: command not found

Colin Watson cjwatson at debian.org
Sat Jun 19 13:21:18 BST 2021


On Tue, Jun 11, 2019 at 08:02:34PM +0200, Jiri Palecek wrote:
>    On Sun, 27 Jan 2019 09:12:32 +0600 Thulium Equasman
>    <confider at inventati.org> wrote:
>    > I got the message "bash: dpkg-reconfigure: command not found
>    > " when I ran `dpkg-reconfigure fontconfig-config`. I ran this command as
>    root.
>    > I then ran `echo $PATH` and the following appeared
>    > "/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games". I searched
>    for
> 
>    How did you get your root shell? If that was by running "su", what you
>    describe is actually expected. You should use "su -". See
>    [1]https://unix.stackexchange.com/questions/460478/debian-su-and-su-path-differences
>    for more information about that.

Indeed.  See also https://bugs.debian.org/910810.  I'm closing this,
since it's not a debconf bug.

-- 
Colin Watson (he/him)                              [cjwatson at debian.org]



More information about the Debconf-devel mailing list