Falling back to the standard locale ("C").

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

Falling back to the standard locale ("C").

#1

帖子 one_dust » 2006-08-01 14:53

我在虚拟机中安装了ubuntu6.0.6 server版,今天我在上面安装apache2,
$ sudo apt-get install apache2
得到了下面的信息:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_CN:en",
LC_ALL = (unset),
LC_CTYPE = "zh_CN.UTF-8",
LANG = "zh_CN.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

后来在网上找,又执行下面的命
$ sudo apt-get install localeconf
也出现上面的提示, 跳出来的界面根本没有让我配置default locale.
请问一下,这个是怎么回事?
mchhome
帖子: 14
注册时间: 2007-01-12 15:33

#2

帖子 mchhome » 2007-01-29 11:12

楼主你的问题解决了吗?我刚装的系统,再今天有个升级中也是同样的问题。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#3

帖子 eexpress » 2007-01-29 11:15

英文系统嘛。那提示和警告没问题啊。
● 鸣学
mchhome
帖子: 14
注册时间: 2007-01-12 15:33

#4

帖子 mchhome » 2007-01-29 11:21

呵呵。看着有些别扭 呵呵,对了再问一下。虚拟控制台 中文乱码怎么处理啊?我查了下有人说要装zhcon就可以,可是还是乱码啊。本来是 菱形 的乱码 ,变成 问号 乱码了。谢谢。有的恢复成英文界面了。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#5

帖子 eexpress » 2007-01-29 11:29

weblog_entry.php?e=2250
weblog_entry.php?e=2249

快速转换中英文环境。

代码: 全选

$●  alias |grep LC
alias cn='export LC_ALL=zh_CN.UTF-8'
alias en='export LC_ALL=C'
● 鸣学
mchhome
帖子: 14
注册时间: 2007-01-12 15:33

#6

帖子 mchhome » 2007-01-29 11:37

非常感谢。
回复