安装openstack提示需求python-six >= 1.6问题解决

公西永嘉
2023-12-01


      今天在通过yum安装openstack-nova-compute的时候,提示以下信息

Error: Package: 1:python-keystoneclient-0.9.0-1.el6.noarch (openstack-icehouse)
           Requires: python-six >= 1.5.2
           Installed: python-six-1.4.1-1.el6.noarch (@ceph-noarch)
               python-six = 1.4.1-1.el6
Error: Package: python-ceilometer-2014.1.2-1.el6.noarch (openstack-icehouse)
           Requires: python-six >= 1.6
           Installed: python-six-1.4.1-1.el6.noarch (@ceph-noarch)
               python-six = 1.4.1-1.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


查看系统python-six版本

[root@ceph-osd-2 ~]# rpm -qa | grep python-six
python-six-1.4.1-1.el6.noarch

 

通过yum update以及google搜索都没有找到python-six-1.6.1-1.el6.noarch的安装包,只找到src.rpm包,下载src.rpm包进行rpmbuild

#wget ftp://ftp.pbone.net/mirror/ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/RHOS/SRPMS/python-six-1.6.1-1.el6.src.rpm
#yum -y instasll python2-devel#rpm -ivh python-six-1.6.1-1.el6.src.rpm
#rpmbuild -bb rpmbuild/SPECS/python-six.spec
#rpm -ivh --force rpmbuild/RPMS/noarch/python-six-1.6.1-1.el6.noarch.rpm

查看python-six包

#rpm -qa | grep python-six
python-six-1.6.1-1.el6.noarch


而后可以正常的安装openstack-nova-compute包了


 


 

 类似资料: