如何修复:安装ansible时请求冲突的问题
每当我尝试安装ansible doing:yum install ansible时,在获取epel release repo后,它都会抛出一个错误,提示:如何修复:安装ansible时请求冲突的问题,ansible,installation,yum,epel,Ansible,Installation,Yum,Epel,每当我尝试安装ansible doing:yum install ansible时,在获取epel release repo后,它都会抛出一个错误,提示: Problem: conflicting requests - nothing provides python-setuptools needed by ansible-2.8.2-1.el7.noarch - nothing provides python-jinja2 needed by ansible-2.8.2-1.el7.n
Problem: conflicting requests
- nothing provides python-setuptools needed by ansible-2.8.2-1.el7.noarch
- nothing provides python-jinja2 needed by ansible-2.8.2-1.el7.noarch
- nothing provides python-six needed by ansible-2.8.2-1.el7.noarch
- nothing provides PyYAML needed by ansible-2.8.2-1.el7.noarch
- nothing provides python2-cryptography needed by ansible-2.8.2-1.el7.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
有人知道这意味着什么/我能做什么吗
编辑:我使用的是redhat8如果启用epel,则无需禁用其他存储库 在centos7上,我在库中找到了python设置工具:
yum info python-setuptools
给予
默认情况下,base存储库是centos7上的基本存储库之一。请检查您正在使用的linux版本,并相应地下载正确的epel repo 在我的例子中,我在CENTOS 8上使用的是较旧的linux版本repos 您可以在下面的链接中找到不同口味的EPEL版本 对于RHEL 8
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
检查回购协议
sudo yum repolist
最后安装ansible
sudo yum install ansible
ansible --version
希望这有助于回答以下问题您在哪个操作系统上执行此操作?您好,您解决问题了吗?如果是,请告诉我。我一直在尝试在RHEL8 aws服务器上安装ansible,但出现了相同的错误。您能确切地告诉我如何启用它吗?
sudo yum install ansible
ansible --version