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
相关推荐
CHANG_THE_WORLD1 小时前
python 批量终止进程exe古城小栈1 小时前
从 cargo-whero 库中,找到提升 rust 的契机liann1191 小时前
3.2_红队攻击框架--MITRE ATT&CK云天AI实战派1 小时前
AI 智能体问题排查指南:ChatGPT、API 调用到 Agent 上线失灵的全流程修复手册我的xiaodoujiao2 小时前
API 接口自动化测试详细图文教程学习系列15--项目实战演练2Gary Studio2 小时前
安卓HAL C++基础-智能指针啧不应该啊3 小时前
Day1 Python 与 C 的类型区别多思考少编码3 小时前
PAT甲级真题1001 - 1005题详细题解(C++)(个人题解)cen__y3 小时前
Linux07(信号01)ZhengEnCi3 小时前
M5-markconv自定义CSS样式指南 📝