CentOS_7_ yum时出错,Could not retrieve mirrorlist
2018-03-14 11:12
531 查看
CentOS 7在执行yum操作时,报错:Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
经过查阅资料,得知这个错误是因为没有配置/etc/resolv.conf。
解决方法:vi /etc/resolv.conf
:wq保存退出即可,之后再执行yum操作,成功!
Error: Cannot find a valid baseurl for repo: base
经过查阅资料,得知这个错误是因为没有配置/etc/resolv.conf。
解决方法:vi /etc/resolv.conf
:wq保存退出即可,之后再执行yum操作,成功!
相关文章推荐
- CentOS_7_ yum时出错,Could not retrieve mirrorlist
- centos的yum出现Could not retrieve mirrorlist解决方法
- CentOS----使用yum命令出现“could not retrieve mirrorlist http://mirrorlist.centos.org ***” - ybq155”
- CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org ***”
- CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org
- CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org ***” - ybq155
- CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org ***”
- CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org
- CentOS使用yum安装软件时出现Could not retrieve mirrorlist
- CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org ***”
- centos6.4 yum : could not retrieve mirrorlist
- 【转】CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org ***”
- CentOS yum出现“Could not retrieve mirrorlist ”的解决办法
- centos的yum出现Could not retrieve mirrorlist解决方法 发布时间:2014-12-11 09:36:22 编辑:AHLinux.com
- 【CentOS6.5】安装之DNS配置错误,yum install 软件报错:ERROR 6或者56错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org ***”
- 【CentOS7】Could not retrieve mirrorlist http://mirrorlist.centos.org/?...
- Centos7 yum install vim 出现“could not retrieve mirrorlist”
- yum 执行安装时 报 Could not retrieve mirrorlist 错误
- 解决YUM下Loaded plugins: fastestmirror Determining fastest mirrors 的问题 和Could not retrieve mirrorlist
- yum install man 的时候出现 Could not retrieve mirrorlist