docker on RHEL – 错误:软件包: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。 我会做一个“百胜makecache”,然后再试一次。 我很好奇,如果你有陈旧的repodata或如果有另一个问题。

不是说它应该重要,但是如果你尝试“yum install policycoreutils”,会发生什么?