[Finished] perl: warning: Setting locale failed.

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
ztfree
帖子: 15
注册时间: 2007-11-25 9:19

[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

#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 .
回复