centos6.8下安装完EPEL源,然后更新yum缓存, 出现这样的错误:
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
运行date命令发现系统时间不对,同步下时间就OK。
yum install ntpd -y
service ntpd start
chkconfig --level 2345 ntpd on
本文介绍了一个在CentOS 6.8中安装EPEL源后遇到的更新错误:无法检索metalink。文章指出系统时间不正确是导致此问题的原因,并提供了通过安装和配置ntpd服务来同步系统时间的解决方案。
centos6.8下安装完EPEL源,然后更新yum缓存, 出现这样的错误:
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
运行date命令发现系统时间不对,同步下时间就OK。
yum install ntpd -y
service ntpd start
chkconfig --level 2345 ntpd on
161
1万+
285
633

被折叠的 条评论
为什么被折叠?
