yum安装遇见的问题
=================================================================
1.yum install python-devel 时出现下面的问题:
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
解决办法:
[[email protected] /]# vim /etc/yum.repos.d/epel.repo
===>>将baseurl的注释取消, mirrorlist注释掉.就OK!
-----------------------------------------------------------------
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$bas
earch
-----------------------------------------------------------------
****更新!
时间: 2024-10-14 23:17:25