【运行报错】Openstack 在部署 Keystone 时出现依赖包报错 (解决安装时依赖包报错问题)
阅读原文时间:2023年07月08日阅读:1

报错信息

在 安装openstack T版本的时候 keystone时出错:

Error: Package: python2-qpid-proton-0.26.0-2.el7.x86_64 (centos-openstack-train)
           Requires: qpid-proton-c(x86-64) = 0.26.0-2.el7
           Available: qpid-proton-c-0.14.0-2.el7.x86_64 (extras)
               qpid-proton-c(x86-64) = 0.14.0-2.el7
           Available: qpid-proton-c-0.26.0-2.el7.x86_64 (centos-openstack-train)
               qpid-proton-c(x86-64) = 0.26.0-2.el7
           Installing: qpid-proton-c-0.37.0-1.el7.x86_64 (epel)
               qpid-proton-c(x86-64) = 0.37.0-1.el7
 You could try using --skip-broken to work around the problem
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
PackageKit-1.1.10-2.el7.centos.x86_64 has missing requires of PackageKit-backend
anaconda-core-21.48.22.159-1.el7.centos.x86_64 has missing requires of yum-utils >= ('0', '1.1.11', '3')
supermin5-5.1.19-1.el7.x86_64 has missing requires of yum-utils

原因分析

如图所示,仔细阅读可知,现在安装的软件包版本和需要的软件包版本不一致,还给出了你两个可用的软件包的位置,所以直接安装即可。

解决问题

yum -y install PackageKit-backend
yum -y install yum-utils
yum -y install qpid-proton-c-0.26.0-2.el7.x86_64

结果告知

yum -y install openstack-keystone

手机扫一扫

移动阅读更方便

阿里云服务器
腾讯云服务器
七牛云服务器