I have a Postgres database hosted on Digital River, on Ubuntu, and followed these instructions to install:
But something is wrong with the locale settings and I cannot w
After trying ardochhigh's answer:
$ sudo locale-gen en_US en_US.UTF-8
$ sudo dpkg-reconfigure locales
the problem persisted
After that I saw this answer that solved the problem for me:
https://www.digitalocean.com/community/questions/language-problem-on-ubuntu-14-04
Aparently LAGUAGE shell variable is not set:
$ sudo bash
$ export LANGUAGE="en_US.UTF-8"
$ echo 'LANGUAGE="en_US.UTF-8"' >> /etc/default/locale
$ echo 'LC_ALL="en_US.UTF-8"' >> /etc/default/locale
$ # next: logout and login