debian locale: Cannot set LC_CTYPE to default locale: No such file or directory
2013-09-15 22:48
597 查看
If you get similar messages to this when you use apt-get
and the advice to
doesn’t work, then try this –
Short and sweet solution.
From:http://www.computersolutions.cn/blog/2011/11/debian-locales-error-quick-fix/
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 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
and the advice to
dpkg-reconfigure locales
doesn’t work, then try this –
export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 locale-gen en_US.UTF-8 dpkg-reconfigure locales
Short and sweet solution.
From:http://www.computersolutions.cn/blog/2011/11/debian-locales-error-quick-fix/
相关文章推荐
- 解决Cannot set LC_CTYPE to default locale: No such file or directory
- 在Ubuntu安装完成后更改默认的语言LANG,出现Cannot set LC_CTYPE to default locale: No such file or directory错误的解决办法
- 在Ubuntu安装完成后更改默认的语言LANG,出现Cannot set LC_CTYPE to default locale: No such file or directory错误的解决办法
- Cannot set LC_CTYPE to default locale: No such file or directory
- 在Ubuntu安装完成后更改默认的语言LANG,出现Cannot set LC_CTYPE to default locale: No such file or directory错误的解决办法
- Ubuntu locale Cannot set LC_CTYPE to default locale: No such file or directory
- locale: Cannot set LC_CTYPE to default locale: No such file or directory
- Linux下locale: Cannot set LC_CTYPE to default locale: No such file or directory警告
- linux(debian) cannot set LC* to default locale, No such file or directory
- linux出现Cannot set LC_CTYPE to default locale: No such file or directory错误的解决办法
- locale: Cannot set LC_ALL to default locale: No such file or directory
- Fix Error - Locale: Cannot Set LC_ALL to default locale: No such file or directory
- Debian下Cannot set LC_CTYPE to default locale: No such file or directory解决方法
- -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
- -bash: warning: setlocale: LC_CTYPE: cannot change locale (EN_US.UTF-8): No such file or directory
- Debian下Cannot set LC_CTYPE to default locale: No such file or directory解决方法
- Centos7 -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
- warning: setlocale: LC_CTYPE: cannot change locale (en_US): No such file or directory
- Centos warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
- -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory