RHEL上的docker - 错误:包:policycoreutils-python-2.5-8.el7.x86_64(rhel-7-server-rpms)

时间:2016-12-06 15:52:59

标签: docker rhel

尝试在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

1 个答案:

答案 0 :(得分:1)

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

并不重要,但如果您尝试使用" yum install policycoreutils"会发生什么? ?