centos openstack安装 - 解决yum错误Error - requested datatype primary not available

问题:
新装的centos6.5,安装openstack yum源时报如下错误:
[root@localhost ~]#  yum install -y http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/rdo-release-icehouse-4.noarch.rpm
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: centos.ustc.edu.cn
 * extras: centos.ustc.edu.cn
 * updates: centos.ustc.edu.cn
Error: requested datatype primary not available

解决方式:
[root@localhost ~]#   yum clean all
Loaded plugins: fastestmirror, security
Cleaning repos: base extras updates
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@localhost ~]#   sudo rpm --rebuilddb
 
然后重新执行yum安装命令,正常执行。
 
centos openstack安装 - 解决yum错误Error - requested datatype primary not available_第1张图片

你可能感兴趣的:(openstack,linux,虚拟化)