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 ...
随机推荐
- Selenium(九):Xpath选择器
1. Xpath选择器 1.1 Xpath语法简介 前面我们学习了CSS选择元素. 大家可以发现非常灵活.强大. 还有一种灵活.强大的选择元素的方式,就是使用Xpath表达式. XPath (XML ...
- go路由httprouter中的压缩字典树算法图解及c++实现
目录 go路由httprouter中的压缩字典树算法图解及c++实现 前言 httprouter简介 压缩字典树 概念 插入操作 查询操作 c+++实现 go路由httprouter中的压缩字典树算法 ...
- make和new关键字的区别及实现原
new 和 make 是两个内置函数,主要用来创建并分配类型的内存.在我们定义变量的时候,可能会觉得有点迷惑,不知道应该使用哪个函数来声明变量,其实他们的规则很简单, new 只分配内存, make ...
- QT在linux下获取网络类型
开发中遇到这样一个需求,需要判断当前网络的类型(wifi或者4G或者网线),在这里给大家一块分享下: 1.这里有一个linux指令:nmcli(大家自行百度即可) 2.nmcli device sta ...
- 腾讯,华为,阿里…7家Java后端面试经验大公开!
感觉面试还是主要围绕简历来问的,所以不熟悉的东西最好不要随便写上去.项目和基础都很重要,整体的基础知识的框架可以参考GitHub 上 CYC2018的博客,分类很全,但是深入的学习还是要自己去看书,写 ...
- kubernetes搭建(可访问外网环境部署)
版权声明:本文为博主原创文章,支持原创,转载请附上原文出处链接和本声明. 本文链接地址:https://www.cnblogs.com/wannengachao/p/11947621.html 一.前 ...
- 如何写一个Python万能装饰器,既可以装饰有参数的方法,也可以装饰无参数方法,或者有无返回值都可以装饰
Python中的装饰器,可以有参数,可以有返回值,那么如何能让这个装饰器既可以装饰没有参数没有返回值的方法,又可以装饰有返回值或者有参数的方法呢?有一种万能装饰器,代码如下: def decorate ...
- mongodb基本安装
这次搞搞NOSQL, 但最简单的MONGODB安装,还是要作点配置的. 一,安装网址: https://www.mongodb.com/download-center/community?jmp=na ...
- Vue 03
目录 组件 组件的分类 组件的特点 组件的使用 组件传参-父传子 组件传参-子传父 组件 组件就是html, css和js文件的集合体, 实现对代码的复用, 组件就是vue对象 组件的分类 根组件 & ...
- vue组件化思想和模块化
组件化 注册组件的基本步骤 创建组件构造器 (调用Vue.extend()方法) 注册组件 (调用Vue.component()方法) 注册组件语法糖 省去了调用Vue.extend()的步骤,而是可 ...