铁铁们,linux输入yum-y install ansible显示如下问题怎么解决

Repository extras is listed more than once in the configuration
Last metadata expiration check: 0:00:34 ago on Sun 15 May 2022 02:03:24 PM CST.
Error:
Problem: problem with installed package ansible-core-2.12.3-1.el8.x86_64

你这里应该已经安装了ansible了。

Repository extras is listed more than once in the configuration
这个,是你YUM仓库已经有冲突的配置,有多了,所以,对于重复配置的yum仓库,可以直接删除。


至于是否安装OK成功,ansible -version 一下不就知道了~~
如果没安装,就先弄好仓库源,再进行安装。需要设置好 EPEL源。


若有所帮助,望采纳答案支持。继续加油