CentOS8提示Failed to set locale, defaulting to C.UTF-8

在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


CentOS8提示Failed to set locale, defaulting to C.UTF-8
https://maolog.com/archives/centos8%E6%8F%90%E7%A4%BAfailedtosetlocaledefaultingtocutf-8
作者
茂茂
发布于
2020年11月20日
许可协议