[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sarge Install --> LOCALES



Tom Allison wrote:

I'm getting a lot of errors regarding LOCALES, especially in Perl modules when upgrading.

Example (one of many):
Setting up xprt-common (0.0.9.final-2) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "en_US.UTF-8",
    LANG = (unset)
   are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

When I run 'locale' I get two warnings:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=POSIX
LC_CTYPE=en_US.UTF-8
LC_ALL=
(everything else says "POSIX")

I tried running 'local-gen' which generated a locale for en_US.ISO-8859-1 (Nothing about UTF) and it still gives the same errors.

HELP?


I've run into this on a couple of installs using an older Sarge beta installer; I've fixed it by re-running "dpkg-reconfigure locales", selecting all three US_EN entries, and then on the next screen choosing the first EN_US entry. I don't really understand what I did, but it got rid of the problem for me on both boxes.

--
Kent



Reply to: