zoukankan      html  css  js  c++  java
  • 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 成功

     

      

  • 相关阅读:
    使用office制作图章公章
    Office英语学习好帮手
    office快速制作简历
    如何使用office2010插入屏幕截图
    office 2010 安装教程
    360wifi使用方法|360wifi使用教程
    在我的电脑里新加一个盘符来隐藏文件夹和文件和秘密
    必应词典3.2去广告备忘笔记(转摘于roustar31)
    ASProtect注册码使用教程|ASProtect SKE(加壳脱壳工具) 2.56 汉化注册版
    ISTool5.3.1汉化版使用教程
  • 原文地址:https://www.cnblogs.com/Jomini/p/12026306.html
Copyright © 2011-2022 走看看