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
相关推荐
应用市场1 天前
构建自定义命令行工具 - 打造专属指令体东方佑1 天前
从字符串中提取重复子串的Python算法解析Dfreedom.1 天前
一文掌握Python四大核心数据结构:变量、结构体、类与枚举一半烟火以谋生1 天前
Python + Pytest + Allure 自动化测试报告教程虚行1 天前
C#上位机工程师技能清单文档小羊在睡觉1 天前
golang定时器CoderCodingNo1 天前
【GESP】C++四级真题 luogu-B4068 [GESP202412 四级] Recamán叶子丶苏1 天前
第八节_PySide6基本窗口控件_按钮类控件(QAbstractButton)Larry_Yanan1 天前
QML学习笔记(四十四)QML与C++交互:对QML对象设置objectName百锦再1 天前
对前后端分离与前后端不分离(通常指服务端渲染)的架构进行全方位的对比分析