Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Fix broken locale in Ubuntu boxes #201

Closed
wants to merge 1 commit into from

Conversation

abevoelker
Copy link
Contributor

When trying to install Postgres on a freshly-built Ubuntu Precise 64-bit box, it was blowing up due to locale errors. It appears that the locale is broken:

$ vagrant ssh
Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.8.0-32-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

vagrant@precise-base:~$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

When reading the build script output before the fix, it does mention locale errors. After the fix, the locale errors are gone.

I'm not sure if it's a proper fix or not but worked for me.

@fgrehm fgrehm modified the milestones: v0.9.0, v0.8.0 Feb 26, 2014
@fgrehm fgrehm modified the milestones: v1.0.0, v0.9.0 Mar 7, 2014
@fgrehm
Copy link
Owner

fgrehm commented Mar 10, 2014

This will come in once GH-245 is merged. Thanks a lot and sorry for taking so long!

@fgrehm fgrehm closed this Mar 10, 2014
@fgrehm fgrehm modified the milestones: v0.9.0, v1.0.0 Mar 11, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants