yum安装遇到的一些问题,今天mark一下
1.problem:
yum -y install docker-io
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.cn99.com
* extras: mirrors.cn99.com
* updates: mirrors.cn99.com
http://download.fedoraproject.org/pub/epel/6/i386/repodata/repomd.xml: [Errno 14] problem making ssl connection
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
问题一开始其实没找准,问题在于红字部分,明显在提醒我 ssl 链接失败, 百度一下是证书过期,
solve:1.将 /etc/yum.repos.d/epel.repo 的enable改为0,
2.下载证书,yum install ca-certificates
3.安装成功后将步骤1的enable 改回1