Failed to set locale, defaulting
2020-05-20 本文已影响0人
免跪姓黄
- CentOS 8中执行
yum update
,出现报错:Failed to set locale, defaulting to C.UTF-8 - 报错原因:没有设置正确的语言环境。
- 解决方法:
echo "export LC_ALL=en_US.UTF-8" >> /etc/profile
source /etc/profile
yum update
,出现报错:Failed to set locale, defaulting to C.UTF-8echo "export LC_ALL=en_US.UTF-8" >> /etc/profile
source /etc/profile