localedef --no-archive, requires additional argument, and then it waits on something. I'm definitely not an locale expert, so I have no idea what it does. There is "locale-gen" option "--no-archive", too, but when I run "locale-gen --no-archive", I just get:
# locale-gen --no-archive
Generating locales...
cs_CZ.UTF-8... up-to-date
de_DE.UTF-8... up-to-date
en_GB.ISO-8859-1... up-to-date
en_GB.ISO-8859-15... up-to-date
en_GB.UTF-8... up-to-date
en_US.UTF-8... up-to-date
pl_PL.UTF-8... up-to-date
sk_SK.UTF-8... up-to-date
Generation complete.
And nothing changes.# locale-gen --no-archive
Generating locales...
cs_CZ.UTF-8... up-to-date
de_DE.UTF-8... up-to-date
en_GB.ISO-8859-1... up-to-date
en_GB.ISO-8859-15... up-to-date
en_GB.UTF-8... up-to-date
en_US.UTF-8... up-to-date
pl_PL.UTF-8... up-to-date
sk_SK.UTF-8... up-to-date
Generation complete.
On Sat, Jun 7, 2014 at 2:23 AM, Adrian Klaver <adrian.klaver@xxxxxxxxxxx> wrote:
On 06/06/2014 04:36 PM, hubert depesz lubaczewski wrote:
On further reading another way would be to use the localedef command with the --no-archive option:locale-gen just regenerates the locale - which I have. It's just that
PostgreSQL doesn't see it. When I run locale-gen, it just shows that all
locales (listed by locale -a) are "up to date".
http://manpages.ubuntu.com/manpages/precise/man1/localedef.1.html