[Finished] perl: warning: Setting locale failed.

重复贴和参考价值不大的帖子,版主维护
回复
ztfree
帖子: 15
注册时间: 2007-11-25 9:19
送出感谢: 0
接收感谢: 0

[Finished] perl: warning: Setting locale failed.

#1

帖子 ztfree » 2007-11-25 10:52

sudo apt-get install xxx

E: Couldn't configure pre-depend python-central for python-apt, probably a dependency cycle.

z@xubuntu:~$ sudo im-switch -s scim-xim -z default

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_IE.UTF-8@euro",
LC_ALL = (unset),
LANG = "en_IE.UTF-8@euro"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
No alternatives defined for language default


now, i can't use scim, so ...

Can someone give me a few words of advice?

thx.
上次由 ztfree 在 2007-11-28 10:43,总共编辑 1 次。
ztfree
帖子: 15
注册时间: 2007-11-25 9:19
送出感谢: 0
接收感谢: 0

#2

帖子 ztfree » 2007-11-28 10:41

Q1:it has disappired.

I can't rember anything about it.

anyway, I am enjoying the xubuntu now.


Q2:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_IE.UTF-8@euro",
LC_ALL = (unset),
LANG = "en_IE.UTF-8@euro"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

How to:
~$sudo apt-get install language-support-zh
~$sudo dpkg-reconfigure -a locale
~$sudo vi /etc/environment

put the codes in order,
LC_ALL="zh_CN.UTF-8"
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN.UTF-8:zh:en_US:en"

CTRL + ALT + Backspace or reboot .
回复

回到 “归档贴”