Please check that your locale settings问题

Posted crazyguo

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Please check that your locale settings问题相关的知识,希望对你有一定的参考价值。

问题描述:

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = "en_US:en",

LC_ALL = (unset),

LC_CTYPE = "zh_CN.UTF-8",

LANG = "en_US.UTF-8"

are supported and installed on your system.

perl: warning: Falling back to a fallback locale ("en_US.UTF-8").

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = "en_US:en",

LC_ALL = (unset),

LC_CTYPE = "zh_CN.UTF-8",

LANG = "en_US.UTF-8"

are supported and installed on your system.

perl: warning: Falling back to a fallback locale ("en_US.UTF-8").

解决方案:

vi /root/.bashrc

再最底部加上

export LC_ALL=C

或者直接运行

echo "export LC_ALL=C" >> /root/.bashrc

然后执行一下:

source /root/.bashrc



作者:vcancy
链接:https://www.jianshu.com/p/32544edd7362
来源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。

以上是关于Please check that your locale settings问题的主要内容,如果未能解决你的问题,请参考以下文章

Please verify that your device’s clock is properly set, and that your signing certificate is not exp

No Assembler service found - please make sure that the right jars are in your classpath

Cannot find autoconf Please check your autoconf installatio

Cannot open your terminal '/dev/pts/4' - please check.

kylin Unable to login, please check your username/password.

Error: A JNI error has occurred, please check your installation and try again