解决perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:

来源:互联网 发布:淘宝宝贝被同行举报 编辑:程序博客网 时间:2024/05/21 08:01
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = "zh_CN:zh",
    LC_ALL = (unset),
    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
dpkg-query: package 'locales' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
/usr/sbin/dpkg-reconfigure: locales is not installed





解决这个   在~/.bashrc中添加一句话

export LC_ALL=C

1 0
原创粉丝点击