From: Manuel Tijerino <ManuelTijerino@hotmail.com>
To: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Hello I got this error when installing postgresql 9.4 on my antsle debian 8 LXC do you know a work around?
Date: Wed, 16 Aug 2017 16:03:29 +0000
Message-ID: <DM5PR2001MB1804D507F415D997D8CFC3EDD9820@DM5PR2001MB1804.namprd20.prod.outlook.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Setting up postgresql-9.4 (9.4.13-1.pgdg80+1) ...
Creating new PostgreSQL cluster 9.4/main ...
/usr/lib/postgresql/9.4/bin/initdb -D /var/lib/postgresql/9.4/main --auth-local peer --auth-host md5
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
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
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
pg_createcluster 9.4 main --start
or a similar command (see 'man pg_createcluster').
update-alternatives: using /usr/share/postgresql/9.4/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
Setting up postgresql-contrib-9.4 (9.4.13-1.pgdg80+1) ...
root@antlet17:~# pg_createcluster 9.4 main --start
Creating new PostgreSQL cluster 9.4/main ...
/usr/lib/postgresql/9.4/bin/initdb -D /var/lib/postgresql/9.4/main --auth-local peer --auth-host md5
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
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: ManuelTijerino@hotmail.com
Subject: Re: Hello I got this error when installing postgresql 9.4 on my antsle debian 8 LXC do you know a work around?
In-Reply-To: <DM5PR2001MB1804D507F415D997D8CFC3EDD9820@DM5PR2001MB1804.namprd20.prod.outlook.com>
References: <DM5PR2001MB1804D507F415D997D8CFC3EDD9820@DM5PR2001MB1804.namprd20.prod.outlook.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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