修复 Debian 6 系统区域错误
May 29, 2012 @ 11:30 PM
在 Debian 6 执行 aptitude upgrade 将系统升级后,出现了以下区域错误:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en_GB:en",
LC_ALL = (unset),
LANG = "en"
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
解决方法为:
# aptitude remove locales
# aptitude install locales
# dpkg-reconfigure locales
Related Posts
- 将 Python 文档打包成 ePub 格式 » June 16, 2014
- Debian Jessie 切换 systemd » June 13, 2014
- 使用 Pure-FTPd 架设 FTP 服务 » May 9, 2014