pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
problem installing postgres in debian8 from debian repository
2+ messages / 2 participants
[nested] [flat]

* problem installing postgres in debian8 from debian repository
@ 2016-04-22 15:30  Armando Perryman Morales <perryman@softel.cu>
  0 siblings, 1 reply; 2+ messages in thread

From: Armando Perryman Morales @ 2016-04-22 15:30 UTC (permalink / raw)
  To: pgsql-bugs

WARNING:  01000: could not determine encoding for locale "en_US.UTF8": 
codeset is "ANSI_X3.4-1968"
DETAIL:  Please report this to <pgsql-bugs@postgresql.org>.
LOCATION:  pg_get_encoding_from_locale, chklocale.c:389
could not determine encoding for locale "en_US.UTF8": codeset is 
"ANSI_X3.4-1968"
initdb: could not find suitable encoding for locale "en_US.UTF8"
Rerun initdb with the -E option.
Try "initdb --help" for more information.
Error: initdb failed
Error: could not create default cluster. Please create it manually with

1986-2016: 30 Aniversario de Softel


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: problem installing postgres in debian8 from debian repository
@ 2016-04-22 21:44  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Armando Perryman Morales <perryman@softel.cu>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2016-04-22 21:44 UTC (permalink / raw)
  To: Armando Perryman Morales <perryman@softel.cu>; +Cc: pgsql-bugs

Armando Perryman Morales <perryman@softel.cu> writes:
> could not determine encoding for locale "en_US.UTF8": codeset is 
> "ANSI_X3.4-1968"
> initdb: could not find suitable encoding for locale "en_US.UTF8"

I believe that "ANSI_X3.4-1968" just refers to the original ASCII
standard, so this result means your system's locale data is broken.
A supposedly-UTF8 locale should surely report some spelling of "UTF8"
as its codeset.  In any case, "ANSI_X3.4-1968" is a useless response,
as there's almost no codeset in use today that's not a superset of that;
what we need to know in practice is *which* superset.

Check your locale-related packages.  I don't know exactly which those
would be on Debian.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-04-22 21:44 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-04-22 15:30 problem installing postgres in debian8 from debian repository Armando Perryman Morales <perryman@softel.cu>
2016-04-22 21:44 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox