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
相关推荐
IVEN_10 小时前
只会Python皮毛?深入理解这几点,轻松进阶全栈开发Ray Liang11 小时前
用六边形架构与整洁架构对比是伪命题?AI攻城狮11 小时前
如何给 AI Agent 做"断舍离":OpenClaw Session 自动清理实践千寻girling11 小时前
一份不可多得的 《 Python 》语言教程AI攻城狮14 小时前
用 Playwright 实现博客一键发布到稀土掘金曲幽15 小时前
FastAPI分布式系统实战:拆解分布式系统中常见问题及解决方案孟健1 天前
Karpathy 用 200 行纯 Python 从零实现 GPT:代码逐行解析码路飞1 天前
写了个 AI 聊天页面,被 5 种流式格式折腾了一整天 😭曲幽1 天前
FastAPI压力测试实战:Locust模拟真实用户并发及优化建议