LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 997|回复: 2

[yum]Cannot open/read repomd.xml ?

[复制链接]
发表于 2005-11-12 15:11:50 | 显示全部楼层 |阅读模式
初学者,对yum没什么了解,还请大家赐教

[root@localhost yucc]# yum install kernel-module-nvidia-2.6.11-1.1369_FC4
Setting up Install Process
Setting up repositories
Cannot open/read repomd.xml file for repository: livna
failure: repodata/repomd.xml from livna: [Errno 256] No more mirrors to try.
[root@localhost yucc]#

为什么我的yum目录下好像真的没有repomd.xml
[root@localhost ~]# cd /var/cache/yum
[root@localhost yum]# ls
livna
[root@localhost yum]# cd livna
[root@localhost livna]# ls
headers  packages
[root@localhost livna]#
这是怎么回事?我要怎么修改啊
发表于 2005-11-12 15:13:51 | 显示全部楼层
删掉你的/etc/yum.repos.d目录下面的livna.repo就OK了!
回复 支持 反对

使用道具 举报

发表于 2007-3-27 12:01:54 | 显示全部楼层
我也碰到这种情况了,我的解决方法是如下:
Fixing the CentOS issue: Cannot find a valid baseurl for repo: update
The issue stems from yum's inability to utilize the nifty mirroring system setup for CentOS. To resolve it, you need to manually insert your actual DNS servers into /etc/resolv.conf

So, if you're behind a home network, you'll need to determine your ISP's nameservers and insert one per line into /etc/resolv.conf like this:

nameserver 202.96.209.133
nameserver 172.01.14.14
nameserver 172.01.14.28

有问题可以访问我的bloghttp://hi.baidu.com/shywyz  上面有详细的说明
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表