search
LoginSignup
11
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

posted at

updated at

Cent6.3でepelに取りにいけない

今日の知見です。

症状

CentOS 6.1, 6.2, 6.3にて, yumしようとしてepelでこけます。

$ yum install hogehoge

Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again  

解決法

デフォルトでSSL3.0使ってるらしくだめみたいです。
HTTPSでなくHTTPで取りに行くようにしましょう

sed -i 's/\(mirrorlist=http\)s/\1/' /etc/yum.repos.d/epel.repo

参照: https://community.hpcloud.com/article/centos-63-instance-giving-cannot-retrieve-metalink-repository-epel-error

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
11
Help us understand the problem. What are the problem?