root\~\]# yum list available
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org?arch=x86_64\&release=7\&repo=sclo-sclo error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; 未知的错误"
One of the configured repositories failed (未知),
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 fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=\
云服务器yum无法解析mirrorlist.centos.org
周盛欢2024-12-25 15:30
相关推荐
大尚来也7 分钟前
PHP 反序列化漏洞深度解析:从原理利用到 allowed_classes 防御实战雕刻刀10 分钟前
ERROR: Failed to build ‘natten‘ when getting requirements to build wheelqq_4160187210 分钟前
高性能密码学库何双新11 分钟前
Odoo 技术演进全解析:从 Widget 到 Owl,从 Old API 到声明式 ORM小碗羊肉19 分钟前
【从零开始学Java | 第十八篇】BigInteger宵时待雨22 分钟前
C++笔记归纳14:AVL树执笔画流年呀36 分钟前
PriorityQueue(堆)续集山川行39 分钟前
关于《项目C语言》专栏的总结呜喵王阿尔萨斯41 分钟前
C and C++ code星辰徐哥43 分钟前
C语言游戏开发:Pygame、SDL、OpenGL深度解析