使用 apt-get 时出现提示
解决方法:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
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
解决方法:
# apt-get install locales
# dpkg-reconfigure locales
# locale
本文介绍了解决使用apt-get时遇到的Perl警告问题,包括设置locale失败等错误信息,并提供了具体的解决步骤:安装locales包、重新配置locales及设置locale。
521

被折叠的 条评论
为什么被折叠?



