Cannot find a valid baseurl

时间 : 14-09-19 栏目 : linux运维 作者 : 老薛 评论 : 0 点击 : 1,512 次

[root@imagic xuekun]# yum install libpng libpng-devel libjpeg libjpeg-devel gd gd-devel libtiff libtiff-devel -y
Loaded plugins: fastestmirror, security
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=os error was
[Errno 4] IOError: <urlopen error (-3, '\xe5\x9f\x9f\xe5\x90\x8d\xe8\xa7\xa3\xe6\x9e\x90\xe6\x9a\x82\xe6\x97\xb6\xe5\xa4\xb1\xe8\xb4\xa5')>
Error: Cannot find a valid baseurl for repo: base

解决办法:

vim /etc/resolv.conf
#增加DNS
nameserver 8.8.8.8

本文标签

除非注明,文章均为( 老薛 )原创,转载请保留链接: http://www.bdkyr.com/xtyw002/284.html

Cannot find a valid baseurl:等您坐沙发呢!

发表评论

3 + 3 = ?


博主微信号,很高兴为您提供帮助

随便看看

0