oracle linux 7.9

oracle linux 7.9在迁移时,x2openEuler报close yum plugin failed, Please manually close,repo源连通检查失败,repo源配置是正确的,网络也通,ping 是40MS。请问如何解决

报错说关闭 yum 插件失败,具体关闭哪个不清楚。这里提供手动关闭插件的两个方法:

① 进入插件配置文件目录 /etc/yum/pluginconf.d/,将插件配置文件中的 enabled 字段的值改为 0 即可关闭对应插件

② 修改全局配置文件 /etc/yum.conf,将 plugins 字段的值改为 0 即可关闭所有插件,若没有 plugins 字段则添加一行 plugins=0

谢谢回复,已按上改过,仍过不了环境检查

好像是未订阅redhat的问题,移走/usr/lib/x2openEuler-upgrade/src/env_check/check_actor/env_check/repo_yum_check_actor.cpython-39-x86_64-linux-gnu.so文件可以检查通过

1、1230版本touch /etc/yum/pluginconf.d/subscription-manager.conf
2、 修改全局配置文件 /etc/yum.conf ,将 plugins 字段的值改为 0 即可关闭所有插件,若没有 plugins 字段则添加一行 plugins=0

1 个赞