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
相关推荐
第二只羽毛6 分钟前
遵守robots协议的友好爬虫好难取啊9 分钟前
[python学习]案例01:随机验证码与账号密码修改秋邱17 分钟前
价值升维!公益赋能 + 绿色技术 + 终身学习,构建可持续教育 AI 生态艾斯比的日常25 分钟前
Java 三色标记算法:并发垃圾回收的核心技术解析2501_9411444235 分钟前
Python + C++ 异构微服务设计与优化T***u33339 分钟前
JavaScript在Node.js中的流处理大未来之窗软件服务1 小时前
幽冥大陆(三十四)VUE +node智慧农业电子秤读取——东方仙盟炼气期ChoSeitaku1 小时前
线代强化NO19|矩阵的相似与相似对角化sniper_fandc1 小时前
Coze智能体实现人生模拟器CoderYanger1 小时前
优选算法-字符串:63.二进制求和