|
|
发表于 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 上面有详细的说明 |
|