安装使用iaas-isntall-mysql.sh脚本时报错etcd-3.3.11-2.el7.centos.x86_64: [Errno 256] No more mirrors to try
问题描述:
问题遇到的现象和发生背景
安装使用iaas-isntall-mysql.sh脚本时报错
问题相关代码,请勿粘贴截图
Error downloading packages:
etcd-3.3.11-2.el7.centos.x86_64: [Errno 256] No more mirrors to try.
sed: can't read /etc/etcd/etcd.conf: No such file or directory
Failed to start etcd.service: Unit not found.
Failed to execute operation: No such file or directory
运行结果及报错内容
Error downloading packages:
etcd-3.3.11-2.el7.centos.x86_64: [Errno 256] No more mirrors to try.
sed: can't read /etc/etcd/etcd.conf: No such file or directory
Failed to start etcd.service: Unit not found.
Failed to execute operation: No such file or directory
答
第一句报错是yum源里边找不到etcd这个软件包,这个包安装不上,然后导致了后边的报错,后边的报错分别是sed修改文件时找不到文件,启动etcd服务失败,没有这个服务,都是第一个报错引起的,建议去百度一下CentOS 安装etcd的文章看看