Fixing "perl: warning: Setting locale failed."

谁都会走 提交于 2020-01-09 20:32:08

【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>

错误提示:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LANGUAGE = "en_US:en",
 LC_ALL = (unset),
 LC_PAPER = "en_US",
 LC_ADDRESS = "en_US",
 LC_MONETARY = "en_US",
 LC_NUMERIC = "en_US",
 LC_TELEPHONE = "en_US",
 LC_IDENTIFICATION = "en_US",
 LC_MEASUREMENT = "en_US",
 LC_TIME = "en_US",
 LC_NAME = "en_US",
 LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

 

解决办法:

apt-get install language-pack-en-base
/usr/sbin/locale-gen en_US.UTF-8
/usr/sbin/update-locale LANG =en_US.UTF-8

 

最后:reboot

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!