yum update 出错
yum update 出错
: mirrors.163.com; Unknown error"
Trying other mirror.
yum-utils-1.1.31-52.el7.noarch FAILED
http://ap.stykers.moe/centos/7.7.1908/os/x86_64/Packages/yum-utils-1.1.31-52.el7.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ap.stykers.moe; Unknown error"
Trying other mirror.
lvm2-2.02.185-2.el7.x86_64.rpm FAILED
http://mirrors.neusoft.edu.cn/centos/7.7.1908/os/x86_64/Packages/lvm2-2.02.185-2.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.neusoft.edu.cn; Unknown error"
Trying other mirror.
lvm2-libs-2.02.185-2.el7.x86_6 FAILED
http://ftp.sjtu.edu.cn/centos/7.7.1908/os/x86_64/Packages/lvm2-libs-2.02.185-2.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.sjtu.edu.cn; Unknown error"
Trying other mirror.
python-chardet-2.2.1-3.el7.noa FAILED
http://ftp.sjtu.edu.cn/centos/7.7.1908/os/x86_64/Packages/python-chardet-2.2.1-3.el7.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.sjtu.edu.cn; Unknown error"
Trying other mirror.
libxml2-python-2.9.1-6.el7_2.3 FAILED
http://centos.ustc.edu.cn/centos/7.7.1908/os/x86_64/Packages/libxml2-python-2.9.1-6.el7_2.3.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: centos.ustc.edu.cn; Unknown error"
Trying other mirror.
python-kitchen-1.1.1-5.el7.noa FAILED
http://mirrors.aliyun.com/centos/7.7.1908/os/x86_64/Packages/python-kitchen-1.1.1-5.el7.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.aliyun.com; Unknown error"
Trying other mirror.
device-mapper-1.02.158-2.el7.x FAILED
http://mirrors.neusoft.edu.cn/centos/7.7.1908/os/x86_64/Packages/device-mapper-1.02.158-2.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.neusoft.edu.cn; Unknown error"
Trying other mirror.
device-mapper-persistent-data- FAILED
http://mirrors.huaweicloud.com/centos/7.7.1908/os/x86_64/Packages/device-mapper-persistent-data-0.8.5-1.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.huaweicloud.com; Unknown error"
Trying other mirror.
device-mapper-event-libs-1.02. FAILED
http://mirrors.aliyun.com/centos/7.7.1908/os/x86_64/Packages/device-mapper-event-libs-1.02.158-2.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.aliyun.com; Unknown error"
Trying other mirror.
device-mapper-event-1.02.158-2 FAILED
http://mirrors.tuna.tsinghua.edu.cn/centos/7.7.1908/os/x86_64/Packages/device-mapper-event-1.02.158-2.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.tuna.tsinghua.edu.cn; Unknown error"
Trying other mirror.
device-mapper-libs-1.02.158-2. FAILED
http://mirrors.zju.edu.cn/centos/7.7.1908/os/x86_64/Packages/device-mapper-libs-1.02.158-2.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.zju.edu.cn; Unknown error"
Trying other mirror.
yum-utils-1.1.31-52.el7.noarch FAILED
http://mirror.jdcloud.com/centos/7.7.1908/os/x86_64/Packages/yum-utils-1.1.31-52.el7.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.jdcloud.com; Unknown error"
Trying other mirror.
lvm2-2.02.185-2.el7.x86_64.rpm FAILED
http://mirrors.huaweicloud.com/centos/7.7.1908/os/x86_64/Packages/lvm2-2.02.185-2.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.huaweicloud.com; Unknown error"
Trying other mirror.
python-chardet-2.2.1-3.el7.noa FAILED
http://ap.stykers.moe/centos/7.7.1908/os/x86_64/Packages/python-chardet-2.2.1-3.el7.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ap.stykers.moe; Unknown error"
Trying other mirror.
lvm2-libs-2.02.185-2.el7.x86_6 FAILED
http://mirror.jdcloud.com/centos/7.7.1908/os/x86_64/Packages/lvm2-libs-2.02.185-2.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.jdcloud.com; Unknown error"
Trying other mirror.
python-kitchen-1.1.1-5.el7.noa FAILED
http://mirrors.neusoft.edu.cn/centos/7.7.1908/os/x86_64/Packages/python-kitchen-1.1.1-5.el7.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.neusoft.edu.cn; Unknown error"
Trying other mirror.
device-mapper-1.02.158-2.el7.x FAILED
http://ap.stykers.moe/centos/7.7.1908/os/x86_64/Packages/device-mapper-1.02.158-2.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ap.stykers.moe; Unknown error"
Trying other mirror.
yum-utils-1.1.31-52.el7.noarch FAILED
http://mirrors.zju.edu.cn/centos/7.7.1908/os/x86_64/Packages/yum-utils-1.1.31-52.el7.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.zju.edu.cn; Unknown error"
Trying other mirror. Error downloading packages:
7:lvm2-libs-2.02.185-2.el7.x86_64: [Errno 256] No more mirrors to try.
libxml2-python-2.9.1-6.el7_2.3.x86_64: [Errno 256] No more mirrors to try.
device-mapper-persistent-data-0.8.5-1.el7.x86_64: [Errno 256] No more mirrors to try.
python-kitchen-1.1.1-5.el7.noarch: [Errno 256] No more mirrors to try.
yum-utils-1.1.31-52.el7.noarch: [Errno 256] No more mirrors to try.
7:device-mapper-libs-1.02.158-2.el7.x86_64: [Errno 256] No more mirrors to try.
7:device-mapper-event-libs-1.02.158-2.el7.x86_64: [Errno 256] No more mirrors to try.
7:device-mapper-1.02.158-2.el7.x86_64: [Errno 256] No more mirrors to try.
7:lvm2-2.02.185-2.el7.x86_64: [Errno 256] No more mirrors to try.
python-chardet-2.2.1-3.el7.noarch: [Errno 256] No more mirrors to try.
然后 ping 一下百度, 显示无法识别
[root@hadoop etc]# ping www.baidu.com
ping: www.baidu.com: Name or service not known
修改 vi /etc/sysconfig/network-scripts/ifcfg-ens33
下的BOOTPROTO 为 dhcp

重启网络 systemctl restart network
ping 百度 成功

再 yum update 成功

yum update 出错的更多相关文章
- yum update 出错解决办法
卸载掉yum和python 于是我卸载了python和yum,觉得自己重新安装python和yum. 步骤1:卸载python rpm -qa|grep python|xargs rpm -e --a ...
- yum 安装出错--"Couldn't resolve host 'mirrors.aliyun.com'"
1.yum 安装出错 [root@iz25m0z7ik3z ~]#yum install mysql [root@iZ25m0z7ik3Z ~]#yum install mysql Loaded pl ...
- centos yum update kernel
1.查看当前kernel版本 uname -r 2.查看已安装版本 rpm -q kernel 3.查看可升级kernel版本 yum list kernel 4.升级kernel版本 yum upd ...
- 解决yum update失败
1.yum update .yum clean.yum install操作提示 Loaded plugins: fastestmirror, langpacks Loading mirror spee ...
- Linux/CentOS配置:使用yum update更新时不升级内核的方法
RedHat/CentOS/Fedora使用 yum update 更新时,默认会升级内核.但有些服务器硬件(特别是组装的机器)在升级内核后,新的内核可能会认不出某些硬件,要重新安装驱动,很麻烦.所以 ...
- Linux中升级更新命令yum upgrade和yum update的区别
区别 Linux升级命令有两个分别是yum upgrade和yum update, 这个两个命令是有区别的: 代码如下: yum -y update #升级所有包,同时也升级软件和系统内核 yum - ...
- yum update Transaction Check Error
update系统时,发现其中一台server居然提示: Transaction Check Error:file /usr/lib/perl5/5.8.8/CGI.pm from install of ...
- yum update
Linux升级命令有两个分别是yum upgrade和yum update, 这个两个命令是有区别的:代码如下:yum -y update升级所有包同时也升级软件和系统内核 代码如下:yum -y u ...
- yum upgrade和yum update的区别
Linux升级命令有两个分别是yum upgrade和yum update, 这个两个命令是有区别的: yum -y update 升级所有包同时也升级软件.系统版本和系统内核 yum -y upgr ...
随机推荐
- variable '' of type '' referenced from scope '', but it is not defined 异常解决方法
最近在做一个功能,通过拼接lamdba表达试来实现的功能,但测试时总是出现一个错误,如下图所示,网上也找不到答案,差点都放弃了.. 如上图图所示,我是想通过一个lamdba表达式(上图的IdField ...
- typeORM 多对多关系不同情况的处理
本文以RBAC权限管理中的用户和角色举例,两个实体存在多对多的关系,一个用户拥有多个角色,一个角色属于多个用户.typeorm的中文文档没有对自定义中间表的说明,发现英文有相关说明,但示例代码貌似有问 ...
- Flask request和response
Response # -*- coding: utf-8 -*- from flask import Flask, redirect, render_template, jsonify, ...
- OSG绘制空间凹多边形并计算其面积
目录 1. 思路 1) 多边形分格化 2) 几何图元遍历 2. 实现 3. 参考 1. 思路 这个问题其实涉及到OSG中的两个问题:多边形分格化和几何图元遍历. 1) 多边形分格化 在OpenGL/O ...
- 运用arcgis sever 进行地图发布
1.对已有的文件在arcgis中进行编辑:如图 2.从file下拉的目录中找到share as 点击 3.选择自己的manage sever 填写好名称 4.继续下一步 5.重点看capabiliti ...
- 使用jeecg-boot心得
使用jeecg-boot心得: Jeect-boot,采用主流最新的开发技术,是个强大的快速开发平台. 刚开始发现jeecg-boot时便对其精致美观的页面深深的迷住了.下载项目运行发现其中也有想要的 ...
- ORA-27468: ""."" is locked by another process
You have a scheduler job that generated an error. When the error occurred, you attempted to disable ...
- 字典 dict方法
字典 student = {'sId': '1101', 'sName': '张三', 'sClass': '软件测试', 'sColl': '信息技术学院'} # 根据键查询 若不存在会报错 pri ...
- MySQL数据库~~~~~锁和事务
一 锁 innodb存储引擎默认是行级锁 行级锁定最大的特点就是锁定对象的颗粒度很小,也是目前各大数据库管理软件所实现的锁定颗粒度最小的.由于锁定颗粒度很小,所以发生锁定资源争用的概率也最小,能够给予 ...
- CodeForces - 1265D(贪心+暴力)
题意 https://vjudge.net/problem/CodeForces-1265D a个0,b个1,c个2,d个3,问是否存在一种排列方案使得任意相邻两数之差==1 思路 分类讨论太麻烦了, ...