- 积分
- 117977
- 威望
-
- 金钱
-
- 注册时间
- 2009-4-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
apt-get 安装软件时报如上错误
解决方法:编辑 /etc/profile 或 /root/.bashrc
加上
LC_CTYPE="en_US.UTF-8"
export LC_CTYPE
LC_MESSAGES="en_US.UTF-8"
export LC_MESSAGES
LC_ALL="en_US.UTF-8"
export LC_ALL
再运行一次看看,错误没了 |
|