On 2016-12-21 11:38, Christoph Berg wrote:
> Control: tags -1 moreinfo
> 
> Re: Darshaka Pathirana 2016-12-20 
> <20161220110151.19348.48480.reportbug@invincible>
>>   Error: The locale requested by the environment is invalid.
> 
>> Locale looks like this:
>>
>>   % locale
>>   LANG=en_US.UTF-8
>>   LANGUAGE=en_US:en
>
> on package installation (only), the locale used for pg_createcluster
> (= initdb) is not determined by your environment (which "locale" looks
> at), but by the system configuration in /etc/environment and
> /etc/default/locale.
> 
> Could you check what you have configured in these files?

Hmm. The files look like this:

  % cat /etc/environment
  % cat /etc/default/locale
  #  File generated by update-locale
  LANG=en_US.UTF-8
  LANGUAGE=en_US:en

Regards,
 - Darsha

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-postgresql-public mailing list
Pkg-postgresql-public@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public

Reply via email to