[Fedora-i18n-list] locale: Cannot set LC_CTYPE to default locale: No such file or directory

Johan Henes Johan at henes.no
Sun Jul 25 18:23:22 UTC 2004


... By the way ! 

- I see that some of the last things that happened before the problems
started was that yum has updated glibc-common. This happened as I used
Yum to install postfix :

[root at notes root]# cat /var/log/yum.log
...
07/20/04 14:13:40 Installed: postfix 2:2.0.16-1.i386
07/20/04 14:13:40 Dep Installed: zlib 1.2.0.7-2.i386
07/20/04 14:13:40 Dep Installed: grep 2.5.1-17.4.i386
07/20/04 14:13:40 Dep Installed: openssl 0.9.7a-33.10.i686
07/20/04 14:13:40 Dep Installed: libstdc++ 3.3.2-1.i386
07/20/04 14:13:40 Dep Installed: info 4.5-2.i386
07/20/04 14:13:40 Dep Installed: ncurses 5.3-9.i386
07/20/04 14:13:40 Dep Installed: pcre 4.4-1.i386
07/20/04 14:13:40 Dep Installed: libgcc 3.3.2-1.i386
07/20/04 14:13:40 Dep Installed: gpm 1.20.1-38.i386
07/20/04 14:13:40 Dep Installed: filesystem 2.2.1-5.i386
07/20/04 14:13:40 Dep Installed: e2fsprogs 1.34-1.i386
07/20/04 14:13:40 Dep Installed: chkconfig 1.3.9-1.i386
07/20/04 14:13:40 Dep Installed: basesystem 8.0-2.noarch
07/20/04 14:13:40 Dep Installed: db4 4.1.25-14.i386
07/20/04 14:13:40 Dep Installed: glibc-common 2.3.2-101.4.i386
07/20/04 14:13:40 Dep Installed: glibc 2.3.2-101.4.i686
07/20/04 14:13:40 Dep Installed: krb5-libs 1.3.3-6.i386

Could it be some of the other packets that makes the trouble ??
- Version problems etc ??

Regards,

Johan
On Sun, 2004-07-25 at 14:17, Akira TAGOH wrote:
> Hi Johan,
> 
> >>>>> On Sat, 24 Jul 2004 01:41:00 +0200,
> >>>>> "JH" == Johan Henes <Johan at henes.no> wrote:
> 
> JH> Hi !
> JH> On my Fedora C1-server I suddenly experience problems running programs,
> JH> ie yum :
> JH> ..
> JH>  [root at notes en_US]# yum
> JH> Traceback (most recent call last):
> JH>   File "/usr/bin/yum", line 30, in ?
> JH>     yummain.main(sys.argv[1:])
> JH>   File "/usr/share/yum/yummain.py", line 159, in main
> JH>     locale.setlocale(locale.LC_ALL, '')
> JH>   File "/usr/lib/python2.2/locale.py", line 381, in setlocale
> JH>     return _setlocale(category, locale)
> JH> locale.Error: locale setting not supported
> JH> ..
> 
> JH> When checking my locale settings they are unchanged from my systems
> JH> default - /etc/sysconfig/i18n :
> JH> ..
> JH> LANG="en_US.UTF-8"
> JH> SUPPORTED="en_US.UTF-8:en_US:en"
> JH> SYSFONT="latarcyrheb-sun16"
> JH> ..
> 
> JH> I get these errormessages running "locale" :
> JH> ..
> JH> [root at notes en_US]# locale
> JH> locale: Cannot set LC_CTYPE to default locale: No such file or directory
> JH> locale: Cannot set LC_MESSAGES to default locale: No such file or
> JH> directory
> JH> locale: Cannot set LC_ALL to default locale: No such file or directory
> 
> It looks like your locale data is broken. you need to know
> what current locale is, but anyway. please try printenv |
> egrep '(LC_*|LANG)'. if you see only LANG=en_US.UTF-8 on
> that, it means your /usr/lib/locale/locale-archive is broken
> somehow. otherwise you need to specify correct one for the
> locale.
> 
> if locale-archive is broken unfortunately, you need to run
> localedef or reinstall glibc-common.
> 
> # localedef -i en_US -c -f UTF-8 en_US.UTF-8
> 
> Regards,
> --
> Akira TAGOH
> --
> Fedora-i18n-list mailing list
> Fedora-i18n-list at redhat.com
> http://www.redhat.com/mailman/listinfo/fedora-i18n-list




More information about the Fedora-i18n-list mailing list