2015年1月22日 星期四

[linux][centos] Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again



root@hc2[~]{11:19}
# yum search upperscore
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again


# vim /etc/yum.repos.d/epel.repo

uncomment baseurl那幾行,mark mirrorlist 那幾行

baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch

沒有留言:

張貼留言