Click to See Complete Forum and Search --> : en_US becomes invalid locale!


sCC
10-30-2001, 04:22 AM
Hi, I'm a newbie using Linux Mandrake. A few weeks ago, I tried to upgrade to KDE2.2 and follow one of the 2 options suggested by the instructions:
urpmi --auto-select

This turns out to be a BAD choice. Because my source have an rpm called "kernel"! To make matters worse, that triggers a chain reaction of upgrading glibc, gcc, etc...basically upgraded all of the things that a newbie isn't supposed to touch. After hours and hours of I don't even know what my computer is doing, my KDE is upgraded. My kernel is (fortunately) still working. But every time I open emacs, I get:
Warning: locale not supported by C library, locale unchanged

Every time I run a perl script, I get:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_MESSAGES = "C",
LC_TIME = "en_US",
LC_NUMERIC = "en_US",
LC_CTYPE = "C",
LC_MONETARY = "en_US",
LC_COLLATE = "en_US",
LANG = "C"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Obviously, en_US is now invalid. But I've looked at /usr/share/locale. Everything is still there. I don't know what's going on. Do the new version of glibc or something have a new path for locales that doesn't match my old settings?