首页 > Web开发 > 详细

Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was

时间:2016-07-15 00:14:47      阅读:613      评论:0      收藏:0      [点我收藏+]
[root@localhost ~]# yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
14: PYCURL ERROR 6 - "Couldn‘t resolve host ‘mirrorlist.centos.org‘"
Error: Cannot find a valid baseurl for repo: base

解决办法:

1、配置本地YUM源

2、修改/etc/resolv.conf文件

Last login: Thu Jul 14 22:01:02 2016 from 192.168.1.105
[root@haishengtech ~]# more /etc/resolv.conf
nameserver 8.8.8.8 
[root@haishengtech ~]# 

 

Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was

原文:http://www.cnblogs.com/arcer/p/5671944.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!