打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
debian locale: Cannot set LC

 If you get similar messages to this when you use apt-get

perl: warning: Setting locale failed.perl: warning: Please check that your locale settings:	LANGUAGE = (unset),	LC_ALL = (unset),	LC_CTYPE = "UTF-8",	LANG = "en_US"    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 directorylocale: Cannot set LC_MESSAGES to default locale: No such file or directorylocale: Cannot set LC_ALL to default locale: No such file or directory

and the advice to

dpkg-reconfigure locales

doesn’t work, then try this –

export LANGUAGE=en_US.UTF-8export LANG=en_US.UTF-8export LC_ALL=en_US.UTF-8locale-gen en_US.UTF-8dpkg-reconfigure locales

Short and sweet solution.



From:http://www.computersolutions.cn/blog/2011/11/debian-locales-error-quick-fix/

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
解决 perl: warning: Setting locale failed. | aaron67's log
debian修改系统语言为英文
解决yum有关错误和问题
如何在Debian中安装桌面和中文环境
moodle 2.0.2 安装图文教程 2——PHP Mysql环境搭建和moodle安装 - 乔木的日志 - ICT教育 - 中小学信息技术教育和教育信息化网站
Linux下修改默认字符集
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服