dpkg-reconfigure is part of the debconf package which is mandatorily installed. It is located in /usr/sbin/, you can test withWell then it says (in German): "command not found". There, it makes no difference if I'm root or not.
Code:
$> ls /usr/sbin/dpkg-reconfigure/usr/sbin/dpkg-reconfigure
su -
, not just su
so that /usr/sbin/ is in your PATH.Code:
$> suPassword:#> echo "$PATH"/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games#> command -V dpkg-reconfigure bash: command: dpkg-reconfigure: not found#> exit$> su -Password:#> echo "$PATH"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin#> command -V dpkg-reconfigure dpkg-reconfigure is /usr/sbin/dpkg-reconfigure
Statistics: Posted by fabien — 2024-04-13 10:45