【发布时间】:2020-07-27 11:30:41
【问题描述】:
谁能告诉我如何在 Centos 8.2.2004 中安装 openshift-ansible ?我在我的 Centos 8 虚拟机中安装了 'centos-release-openshift-origin310' 但是当我运行 'yum install openshift-ansible' 或 'dnf install openshift-ansible',我收到以下错误消息----
[root@openshift1 vars]#
[root@openshift1 vars]#
[root@openshift1 vars]# dnf install openshift-ansible
Last metadata expiration check: 2:03:24 ago on Sun 26 Jul 2020 08:17:56 PM IST.
Error:
Problem: cannot install the best candidate for the job
- nothing provides python-six needed by openshift-ansible-3.10.68-1.git.0.f908cf5.el7.noarch
- nothing provides libselinux-python needed by openshift-ansible-3.10.68-1.git.0.f908cf5.el7.noarch
- nothing provides python-passlib needed by openshift-ansible-3.10.68-1.git.0.f908cf5.el7.noarch
- nothing provides python2-crypto needed by openshift-ansible-3.10.68-1.git.0.f908cf5.el7.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@openshift1 vars]#
[root@openshift1 vars]#
我在安装 'centos-release-openshift-origin311' 时遇到了类似的情况,但它也显示了与 python 相关的错误。因此,我搬到了 'centos-release-openshift-origin310'。这里我有 python3 而不是 python。
Ex - 它显示它需要“python-six”的第一个依赖项,而我的环境中已经存在“python3-six”。
【问题讨论】:
-
我只是不明白如果人们不想回答,那他们为什么要投票结束这个问题?如果他们对给出回应不感兴趣,那很好。但是我发布了这个问题,因为我需要一个解决方案。如果人们想关闭它,那么他们最好也提供原因。
标签: python-3.x ansible openshift-origin okd