解决 CentOS 8 Stream 报 错 Failed loading plugin “osmsplugin”: No module named ‘librepo和Failed to set locale, defaulting to C.UTF-8 – 我的笔记本

解决 CentOS 8 Stream 报 错 Failed loading plugin “osmsplugin”: No module named ‘librepo和Failed to set locale, defaulting to C.UTF-8

解决Failed to set locale, defaulting to C.UTF-8

先查看本地语言

locale -a

file

设置en_US.utf8

echo "export LC_ALL=en_US.utf8" >> /etc/profile
echo "export LC_CTYPE=en_US.utf8" >> /etc/profile
source /etc/profile

解决Failed loading plugin "osmsplugin": No module named 'librepo

执行以下命令

dnf -y install python3-librepo

再次进行yum

yum install xxx

file

已经不报错了,Nice

Related Posts

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注