epelのリポジトリデータの取得中にエラーが発生しました。リポジトリが見つかりません。

epelのリポジトリデータの取得中にエラーが発生しました。リポジトリが見つかりません。

最新バージョンをインストールしましたが、epelインストールしたいです。mod_evasive

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

Uname -a:
    Linux  #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

yum repolist:
    Loaded plugins: fastestmirror, protectbase, security
    Loading mirror speeds from cached hostfile
     * base: mirror.amsiohosting.net
     * extras: mirrors.supportex.net
     * rpmforge: mirror.nl.leaseweb.net
     * updates: mirror.nl.leaseweb.net
    0 packages excluded due to repository protections
    repo id                        repo name                                         status
    base                           CentOS-6 - Base                                   6,503+72
    extras                         CentOS-6 - Extras                                       48
    rpmforge                       RHEL 6 - RPMforge.net - dag                       4,663+55
    updates                        CentOS-6 - Updates                                  917+41
    repolist: 12,131

yum --disablerepo="*" --enablerepo="epel" search mod_evasive:
    Loaded plugins: fastestmirror, protectbase, security


Error getting repository data for epel, repository not found

モードはconfから除外されましたが、confから削除しました。/etc/yum.conf

ベストアンサー1

Richの答えが恐ろしいので、正式なCentOSの答えを見つけたいと思います。ここにいる、コマンドは1つだけです。万歳!

yum --enablerepo=extras install epel-release

EPEL(Enterprise Linux)用の追加パッケージ - (参照)http://fedoraproject.org/wiki/EPEL)はEL6およびEL7用のFedoraパッケージの再構築を提供します。ポイントリリースに関連する過去の問題にもかかわらず、パッケージはデフォルトバージョンを置き換えてはいけません。を実行してEPELをインストールできますyum --enablerepo=extras install epel-release。 epel-releaseパッケージは、デフォルトで有効になっているCentOS Extrasリポジトリに含まれています。サポートは、Freenode、メーリングリスト、および#epelの問題トラッカーを介して提供されます。 EPELアップデートが安定リリースにプッシュされる前にテストするのに役立つ場合は、開発/テストサーバーでepel-testingリポジトリを有効にできます。本番システムでepelテストを有効にするのは良い考えではありません。

おすすめ記事