[Pkg-postgresql-public] Bug#848869: Error: could not create default cluster. Please create it manually with

Darshaka Pathirana dpat at syn-net.org
Wed Dec 21 12:04:22 UTC 2016


On 2016-12-21 11:38, Christoph Berg wrote:
> Control: tags -1 moreinfo
> 
> Re: Darshaka Pathirana 2016-12-20 <20161220110151.19348.48480.reportbug at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20161221/9f7eb2d5/attachment.sig>


More information about the Pkg-postgresql-public mailing list