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

来源:互联网 发布:java char冒泡排序代码 编辑:程序博客网 时间:2024/06/06 13:57
问题:
新装的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安装命令,正常执行。
 
0 0
原创粉丝点击