小编Alb*_*ese的帖子

无法解析主机:mirrorlist.centos.org Centos 7

我全新安装了最新的 centos 7

[root@localhost ~]# cat /etc/centos-release
CentOS Linux release 7.4.1708 (Core) 
[root@localhost ~]# 
Run Code Online (Sandbox Code Playgroud)

我想安装一些东西,但没有安装 wget,所以当我尝试安装 wget 时,我看到 yum 出现错误。

我可能在互联网上看到了有关此问题的所有主题,但不幸的是我找不到我的解决方案。

[root@localhost ~]# yum update
Loaded plugins: fastestmirror
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirror.centos.org; Unknown error"
Trying other mirror.

 One of the configured repositories failed (CentOS-7 - Base),
 and yum doesn't have enough cached data to continue. At this …
Run Code Online (Sandbox Code Playgroud)

centos7

21
推荐指数
1
解决办法
19万
查看次数

标签 统计

centos7 ×1