|
楼主 |
发表于 2011-8-28 08:38:49
|
显示全部楼层
Post by shenchu;2148576
问题已经解决了 clean all,makecache,check-update都无效,
修改了/etc/yum.repos.d下面的所有repo文件,将里面的enabled=1修改为enabled=0后能用了。
感谢各位朋友关注。
看了一个外文网站,说是修改其中一个repo文件就可以了,但是我英文太烂了,一知半解,索性全部都改了。 可惜未明白其中enable=0这个参数的含义。
原帖地址:http://www.fedoraforum.org/forum/showthread.php?p=1314379
This method is little laborious but helpful if nothing else stated above is working.
Just check that at which stage the error is occurring. I mean, yum checks the repositories in the same order as they are listed in /etc/yum.repos.d/ directory. In my case here it hapened.
rpmfusion-nonfree | 3.3 kB 00:00
rpmfusion-nonfree/primary_db | 91 kB 00:03
rpmfusion-nonfree-updates | 414 B 00:00
Error: requested datatype primary not available
and the next file was rpmfusion-nonfree-updates-testing.repo. I just edit the file as follows
enabled=0
gpgcheck=0
prior both were set to 1.
now for me, error is resolved. Thought may be helpful to you 2. |
|