[Debconf-devel] Bug#941740: /usr/sbin/dpkg-reconfigure: breaks reconfigure locales since systemd changes

Sven Joachim svenjoac at gmx.de
Sat Oct 5 07:49:04 BST 2019


On 2019-10-04 15:19 +0100, Colin Watson wrote:

> On Fri, Oct 04, 2019 at 10:12:14AM -0400, PICCORO McKAY Lenz wrote:
>> Usin minimal net.install with no recommends breaks many packages setups:
>>
>> by example for locales:
>>
>> /var/lib/dpkg/info/locales.postinst: 64:
>> /var/lib/dpkg/info/locales.postinst: locale-gen: not found
>
> Surely that's a problem with the locales package, and not with
> dpkg-reconfigure?  (It also seems as though it might perhaps have
> something to do with /usr/sbin not being on your $PATH.)

Most likely that's the case because the bug submitter used su(1) to
become root and got surprised by its new behavior to preserve $PATH[1].

Cheers,
       Sven


1. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910810



More information about the Debconf-devel mailing list