[Bug 859814] Re: Locale issues with beta-1/2 cloud-images

Scott Moser smoser at ubuntu.com
Fri Mar 30 18:18:54 UTC 2012

Some more data here, the following results in postgresql not started on

$ LC_ALL=en_GB.UTF-8 ssh ubuntu@$HOSTNAME
$  sudo apt-get install postgresql-9.1
Adding user postgres to group ssl-cert
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
Setting up postgresql-9.1 (9.1.3-2) ...
Error: The locale requested by the environment is invalid.
Error: could not create default cluster. Please create it manually with

  pg_createcluster 9.1 main --start

or a similar command (see 'man pg_createcluster').

If you run 'apt-get install language-pack-en' prior to running the above, it will work.

It will still fail, though if you do:
 $ LC_ALL=fr_FR.UTF-8 ssh ....
 $ sudo apt-get install postgresql-9.1
(which would be fixed by 'apt-get install language-pack-fr').

You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.

  Locale issues with beta-1/2 cloud-images

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list