Bug#920567: bash: dpkg-reconfigure: command not found

2021-06-19 Thread Colin Watson
On Tue, Jun 11, 2019 at 08:02:34PM +0200, Jiri Palecek wrote:
>On Sun, 27 Jan 2019 09:12:32 +0600 Thulium Equasman
> 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)  [cjwat...@debian.org]



Bug#920567: bash: dpkg-reconfigure: command not found

2019-06-11 Thread Jiri Palecek

On Sun, 27 Jan 2019 09:12:32 +0600 Thulium Equasman wrote:
> Package: python3-reportbug
> Version: 7.5.1
> Severity: normal
> Tags: d-i
>
> Hi,
> 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
https://unix.stackexchange.com/questions/460478/debian-su-and-su-path-differences
for more information about that.


Regards

    Jiri Palecek



Bug#920567: bash: dpkg-reconfigure: command not found

2019-01-26 Thread Thulium Equasman
Package: python3-reportbug
Version: 7.5.1
Severity: normal
Tags: d-i

Hi,
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
solution online and came to know that dpkg-reconfigure is in /usr/sbin. So I
added /usr/sbin in $PATH to .bashrc file. I rebooted the system and now `dpkg-
reconfigure fontconfig-config` works.
As the process described here worked, is this the right process or I missed
something?
Thanks.



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-reportbug depends on:
ii  apt1.8.0~beta1
ii  file   1:5.35-2
ii  python33.7.1-3
ii  python3-apt1.7.0
ii  python3-debian 0.1.34
ii  python3-debianbts  2.8.2
ii  python3-requests   2.20.0-2

python3-reportbug recommends no packages.

Versions of packages python3-reportbug suggests:
ii  reportbug  7.5.1

-- no debconf information