docker on RHEL - Error: Package: policycoreutils-python-2.5-8.el7.x86_64 (rhel-7-server-rpms)

docker on RHEL - Error: Package: policycoreutils-python-2.5-8.el7.x86_64 (rhel-7-server-rpms)

尝试在我们的 RHEL 7.2 服务器上执行 yum install docker-engine 时,出现以下错误:

Error: Package: policycoreutils-python-2.5-8.el7.x86_64 (rhel-7-server-rpms)
           Requires: policycoreutils = 2.5-8.el7
           Installed: policycoreutils-2.5-9.el7.x86_64 (@rhel-7-server-rpms)
               policycoreutils = 2.5-9.el7
           Available: policycoreutils-2.2.5-11.el7.x86_64 (rhel-7-server-eus-rpms)
               policycoreutils = 2.2.5-11.el7
           Available: policycoreutils-2.2.5-11.el7_0.1.x86_64 (rhel-7-server-eus-rpms)
               policycoreutils = 2.2.5-11.el7_0.1
           Available: policycoreutils-2.2.5-15.el7.x86_64 (rhel-7-server-eus-rpms)
               policycoreutils = 2.2.5-15.el7
           Available: policycoreutils-2.2.5-20.el7.x86_64 (rhel-7-server-eus-rpms)
               policycoreutils = 2.2.5-20.el7
           Available: policycoreutils-2.5-8.el7.x86_64 (rhel-7-server-rpms)
               policycoreutils = 2.5-8.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

事实是,包裹在那里...

yum list policycoreutils-python
policycoreutils-python.x86_64                                                                           2.5-8.el7

yum list policycoreutils
policycoreutils.x86_64                                                                              2.5-9.el7

好吧,指定了内核后,您似乎实际上是在 7.3 上。我会做一个 "yum makecache" 然后再试一次。我很好奇你的 repodata 是否过时或者是否还有其他问题。

这并不重要,但是如果您尝试 "yum install policycoreutils" 会怎样?