JetCracker

Life-time learner's blog

[Ubuntu] [Solved] Locale problem

After installing Ubuntu server, you might encounter some problems with linux locale configuration. Usually you can see the following warning messages:

Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"

The output of the command “locale” may contain the following lines:

user@server$ 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

Here is the solution that worked for me.

  1. Run command sudo apt-get install language-pack-en
  2. sudo dpkg-reconfigure locales
  3. Log out / log in.

If you want more details, see http://stackoverflow.com/questions/2527192/linux-locale-unset

Advertisements

One response to “[Ubuntu] [Solved] Locale problem

  1. Bosstiger August 29, 2012 at 15:56

    Reblogged this on Gigable – Tech Blog.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: