问题:
新装的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 6.5上安装OpenStack时遇到yum错误:Error - requested datatype primary not available。解决方法包括运行"yum clean all"清理缓存,然后使用"sudo rpm --rebuilddb"重建数据库,之后yum安装可以正常进行。
6367

被折叠的 条评论
为什么被折叠?



