[root@localhost mysql]# yum install net-tools

  1. [root@localhost mysql]# yum install net-tools
  2. 已加载插件:fastestmirror
  3. Loading mirror speeds from cached hostfile
  4. * base: mirrors.neusoft.edu.cn
  5. * extras: mirrors.neusoft.edu.cn
  6. * updates: mirrors.neusoft.edu.cn
  7. 正在解决依赖关系
  8. --> 正在检查事务
  9. ---> 软件包 net-tools.x86_64.0.2.0-0.25.20131004git.el7 将被 安装
  10. --> 解决依赖关系完成
  11. 依赖关系解决
  12. ==================================================================================================================================================================================
  13. Package 架构 版本 大小
  14. ==================================================================================================================================================================================
  15. 正在安装:
  16. net-tools x86_64 2.0-0.25.20131004git.el7 base 306 k
  17. 事务概要
  18. ==================================================================================================================================================================================
  19. 安装 1 软件包
  20. 总下载量:306 k
  21. 安装大小:917 k
  22. Is this ok [y/d/N]: y
  23. Downloading packages:
  24. net-tools-2.0-0.25.20131004git FAILED
  25. http://mirrors.tuna.tsinghua.edu.cn/centos/7.9.2009/os/x86_64/Packages/net-tools-2.0-0.25.20131004git.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.tuna.tsinghua.edu.cn; Unknown error"
  26. 正在尝试其它镜像。
  27. net-tools-2.0-0.25.20131004git FAILED
  28. http://mirrors.neusoft.edu.cn/centos/7.9.2009/os/x86_64/Packages/net-tools-2.0-0.25.20131004git.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.neusoft.edu.cn; Unknown error"
  29. 正在尝试其它镜像。
  30. net-tools-2.0-0.25.20131004git FAILED
  31. http://mirrors.ustc.edu.cn/centos/7.9.2009/os/x86_64/Packages/net-tools-2.0-0.25.20131004git.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.ustc.edu.cn; Unknown error"
  32. 正在尝试其它镜像。
  33. net-tools-2.0-0.25.20131004git FAILED
  34. http://mirrors.bupt.edu.cn/centos/7.9.2009/os/x86_64/Packages/net-tools-2.0-0.25.20131004git.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.bupt.edu.cn; Unknown error"
  35. 正在尝试其它镜像。
  36. 连接断开
  37. 连接主机...
  38. 连接主机成功
  39. Last login: Thu Oct 6 20:12:19 2022 from 192.168.222.1
  40. [root@localhost ~]# yum install net-tools
  41. 已加载插件:fastestmirror
  42. Loading mirror speeds from cached hostfile
  43. * base: mirrors.neusoft.edu.cn
  44. * extras: mirrors.neusoft.edu.cn
  45. * updates: mirrors.neusoft.edu.cn
  46. 正在解决依赖关系
  47. --> 正在检查事务
  48. ---> 软件包 net-tools.x86_64.0.2.0-0.25.20131004git.el7 将被 安装
  49. --> 解决依赖关系完成
  50. 依赖关系解决
  51. ==================================================================================================================================================================================
  52. Package 架构 版本 大小
  53. ==================================================================================================================================================================================
  54. 正在安装:
  55. net-tools x86_64 2.0-0.25.20131004git.el7 base 306 k
  56. 事务概要
  57. ==================================================================================================================================================================================
  58. 安装 1 软件包
  59. 总下载量:306 k
  60. 安装大小:917 k
  61. Is this ok [y/d/N]: y
  62. Downloading packages:
  63. Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
  64. net-tools-2.0-0.25.20131004git FAILED
  65. http://mirrors.tuna.tsinghua.edu.cn/centos/7.9.2009/os/x86_64/Packages/net-tools-2.0-0.25.20131004git.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.tuna.tsinghua.edu.cn; Unknown error"
  66. 正在尝试其它镜像。
  67. net-tools-2.0-0.25.20131004git FAILED
  68. http://mirrors.neusoft.edu.cn/centos/7.9.2009/os/x86_64/Packages/net-tools-2.0-0.25.20131004git.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.neusoft.edu.cn; Unknown error"
  69. 正在尝试其它镜像。
  70. net-tools-2.0-0.25.20131004git FAILED
  71. http://mirrors.ustc.edu.cn/centos/7.9.2009/os/x86_64/Packages/net-tools-2.0-0.25.20131004git.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.ustc.edu.cn; Unknown error"
  72. 正在尝试其它镜像。
  73. net-tools-2.0-0.25.20131004git FAILED
  74. http://mirrors.bupt.edu.cn/centos/7.9.2009/os/x86_64/Packages/net-tools-2.0-0.25.20131004git.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.bupt.edu.cn; Unknown error"
  75. 正在尝试其它镜像。
  76. net-tools-2.0-0.25.20131004git FAILED
  77. http://mirror.lzu.edu.cn/centos/7.9.2009/os/x86_64/Packages/net-tools-2.0-0.25.20131004git.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.lzu.edu.cn; Unknown error"
  78. 正在尝试其它镜像。
  79. net-tools-2.0-0.25.20131004git FAILED
  80. http://mirrors.huaweicloud.com/centos/7.9.2009/os/x86_64/Packages/net-tools-2.0-0.25.20131004git.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.huaweicloud.com; Unknown error"
  81. 正在尝试其它镜像。

CentOS7 yum 时报错 curl#6 - “Could not resolve host: mirror.lzu.edu.cn; Unknown error“ 及telnet安装_墨兰公子的博客-CSDN博客

CentOS 7 安装 net-tools(解决无 ifconfig)_徐晓伟的博客-CSDN博客_centos安装nettools