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
相关推荐
大尚来也5 小时前
看不见的加速器:深入理解 Linux 页缓存如何提升 I/O 性能wWYy.5 小时前
程序编译链接过程铁蛋AI编程实战5 小时前
AI调用人类服务入门与Python实现(30分钟搭建“AI+真人”协作系统)zhougl9965 小时前
Java 常见异常梳理sensen_kiss6 小时前
Jupter Notebook 使用教程独自破碎E6 小时前
已经 Push 到远程的提交,如何修改 Commit 信息?多恩Stone6 小时前
【3D-AICG 系列-1】Trellis v1 和 Trellis v2 的区别和改进数智工坊6 小时前
【数据结构-栈、队列、数组】3.3栈在括号匹配-表达式求值上lsx2024066 小时前
Bootstrap 插件概览毕设源码-钟学长6 小时前
【开题答辩全过程】以 基于PHP的动漫社区的设计与实现为例,包含答辩的问题和答案