Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

86 views
Skip to first unread message

Thulium Equasman

unread,
Jan 26, 2019, 10:20:02 PM1/26/19
to
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 apt 1.8.0~beta1
ii file 1:5.35-2
ii python3 3.7.1-3
ii python3-apt 1.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

conf...@inventati.org

unread,
Jan 26, 2019, 10:30:03 PM1/26/19
to
Hi,

This bug report is associated with package debconf, if I'm not wrong.
I'm comparatively new to using reportbug. So, python3-reportbug package
got selected as the affected package, while it would be debconf package.
Pardon my naivety.

Thanks.

Sandro Tosi

unread,
Jan 26, 2019, 11:20:02 PM1/26/19
to
control: reassign -1 debconf
--
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi

Jiri Palecek

unread,
Jun 11, 2019, 2:10:02 PM6/11/19
to
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

Colin Watson

unread,
Jun 19, 2021, 9:00:03 AM6/19/21
to
On Tue, Jun 11, 2019 at 08:02:34PM +0200, Jiri Palecek wrote:
> On Sun, 27 Jan 2019 09:12:32 +0600 Thulium Equasman
> <conf...@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) [cjwa...@debian.org]
0 new messages