Results 1 to 4 of 4

Thread: Setting locale failed

  1. #1
    Join Date
    Sep 2008
    Beans
    2

    Setting locale failed

    Fresh Ubuntu Server 8.04 install on an OVH server. Perl and subversion complains about locale. This is the error message:

    Code:
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
            LANGUAGE = (unset),
            LC_ALL = (unset),
            LANG = "en_GB.UTF-8"
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    apt-get install locales tells me I already have the latest version.

    dpkg-reconfigure locales throws some additional errors:

    Code:
    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's the output from "locale"
    Code:
    root@xxxxxx:~# 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_GB.UTF-8
    LC_CTYPE="en_GB.UTF-8"
    LC_NUMERIC="en_GB.UTF-8"
    LC_TIME="en_GB.UTF-8"
    LC_COLLATE="en_GB.UTF-8"
    LC_MONETARY="en_GB.UTF-8"
    LC_MESSAGES="en_GB.UTF-8"
    LC_PAPER="en_GB.UTF-8"
    LC_NAME="en_GB.UTF-8"
    LC_ADDRESS="en_GB.UTF-8"
    LC_TELEPHONE="en_GB.UTF-8"
    LC_MEASUREMENT="en_GB.UTF-8"
    LC_IDENTIFICATION="en_GB.UTF-8"
    LC_ALL=
    /etc/locale.gen does not exist. Could this be the source of the problem?

  2. #2
    Join Date
    Sep 2006
    Beans
    80

    Re: Setting locale failed

    Hi

    Just contracted a server off OVH (ubuntu 8.04 English) and have encountered exactly the same problem as soon as I ran apt-get upgrade.

    Did you or anyone else find a solution?

    Thanks

  3. #3
    Join Date
    Sep 2006
    Beans
    80

    Re: Setting locale failed

    Just in case anyone else has this problem

    Solution:

    Code:
    apt-get install language-pack-en

  4. #4
    Join Date
    Jan 2006
    Location
    Leeds, UK
    Beans
    58
    Distro
    Ubuntu

    Re: Setting locale failed

    Quote Originally Posted by Wardazo View Post
    Just in case anyone else has this problem

    Solution:

    Code:
    apt-get install language-pack-en


    Thanks Wardazo - fixed it for me
    don't click below....
    http://www.rocketware.co

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •