小编fad*_*awi的帖子

无法在 CentOS 7 上使用 yum

我已经在 hyper-v 上成功安装了 CentOS 7,但是当我尝试使用 yum update 进行更新或尝试使用yum命令进行安装时,出现以下错误:

Loaded plugins: fastestmirror, langpacks Could not retrieve mirrorlist
http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock
error was 12: Timeout on
http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock:
(28, 'Resolving timed out after 30425 milliseconds')


One of the configured repositories failed (Unknown),  and yum doesn't
have enough cached data to continue. At this point the only  safe
thing yum can do is fail. There are a few ways to work "fix" this:

      1. Contact the upstream for the repository and get them to …
Run Code Online (Sandbox Code Playgroud)

linux centos

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

标签 统计

centos ×1

linux ×1