Error getting repository data for epel, repository not found

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












3














I have installed the newest epel and want to install 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


mod was excluded in conf but I already removed that from /etc/yum.conf










share|improve this question























  • Check this unix.stackexchange.com/questions/165916/…
    – Ijaz Ahmad Khan
    Dec 30 '15 at 21:23















3














I have installed the newest epel and want to install 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


mod was excluded in conf but I already removed that from /etc/yum.conf










share|improve this question























  • Check this unix.stackexchange.com/questions/165916/…
    – Ijaz Ahmad Khan
    Dec 30 '15 at 21:23













3












3








3


2





I have installed the newest epel and want to install 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


mod was excluded in conf but I already removed that from /etc/yum.conf










share|improve this question















I have installed the newest epel and want to install 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


mod was excluded in conf but I already removed that from /etc/yum.conf







centos yum repository






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 30 '15 at 21:56









purplepsycho

1,89311318




1,89311318










asked Dec 30 '15 at 21:16









user2157622

16112




16112











  • Check this unix.stackexchange.com/questions/165916/…
    – Ijaz Ahmad Khan
    Dec 30 '15 at 21:23
















  • Check this unix.stackexchange.com/questions/165916/…
    – Ijaz Ahmad Khan
    Dec 30 '15 at 21:23















Check this unix.stackexchange.com/questions/165916/…
– Ijaz Ahmad Khan
Dec 30 '15 at 21:23




Check this unix.stackexchange.com/questions/165916/…
– Ijaz Ahmad Khan
Dec 30 '15 at 21:23










1 Answer
1






active

oldest

votes


















3














This means the repo "epel" was not configured. The first command evidently failed:



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


This should place a file at /etc/yum.repos.d/epel.repo, with a first line:



[epel]


That first line is the name of the repo, so if you don't see it, it's not there.



Try downloading the file first -- just paste the URL into the address bar of a browser:



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


And work from there by installing it:



sudo rpm -ivh epel-release-6-8.noarch.rpm


The package enables the epel repo by default, so you shouldn't have to say --disablerepo='*' --enablerepo=epel (note my difference of opinion on quotes).






share|improve this answer




















  • By the way, rpm tells me rpm: RPM should not be used directly install RPM packages, use Alien instead! when I try to run sudo rpm
    – Timothy Swan
    Oct 11 '17 at 16:10










  • @TimothySwan - The fact you're getting an error from alien suggests you're using a non-Red Hat OS. All Red Hat OSs use rpm as the backend package format; with either yum or dnf for the frontend package delivery mechanism. Your system has something else on the backend and frontend; e.g. deb packages delivered by apt in Ubuntu. In other words this question about CentOS and EPEL does not apply to your situation. Hope that helps!
    – Rich
    Oct 17 '17 at 20:52










Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f252410%2ferror-getting-repository-data-for-epel-repository-not-found%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














This means the repo "epel" was not configured. The first command evidently failed:



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


This should place a file at /etc/yum.repos.d/epel.repo, with a first line:



[epel]


That first line is the name of the repo, so if you don't see it, it's not there.



Try downloading the file first -- just paste the URL into the address bar of a browser:



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


And work from there by installing it:



sudo rpm -ivh epel-release-6-8.noarch.rpm


The package enables the epel repo by default, so you shouldn't have to say --disablerepo='*' --enablerepo=epel (note my difference of opinion on quotes).






share|improve this answer




















  • By the way, rpm tells me rpm: RPM should not be used directly install RPM packages, use Alien instead! when I try to run sudo rpm
    – Timothy Swan
    Oct 11 '17 at 16:10










  • @TimothySwan - The fact you're getting an error from alien suggests you're using a non-Red Hat OS. All Red Hat OSs use rpm as the backend package format; with either yum or dnf for the frontend package delivery mechanism. Your system has something else on the backend and frontend; e.g. deb packages delivered by apt in Ubuntu. In other words this question about CentOS and EPEL does not apply to your situation. Hope that helps!
    – Rich
    Oct 17 '17 at 20:52















3














This means the repo "epel" was not configured. The first command evidently failed:



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


This should place a file at /etc/yum.repos.d/epel.repo, with a first line:



[epel]


That first line is the name of the repo, so if you don't see it, it's not there.



Try downloading the file first -- just paste the URL into the address bar of a browser:



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


And work from there by installing it:



sudo rpm -ivh epel-release-6-8.noarch.rpm


The package enables the epel repo by default, so you shouldn't have to say --disablerepo='*' --enablerepo=epel (note my difference of opinion on quotes).






share|improve this answer




















  • By the way, rpm tells me rpm: RPM should not be used directly install RPM packages, use Alien instead! when I try to run sudo rpm
    – Timothy Swan
    Oct 11 '17 at 16:10










  • @TimothySwan - The fact you're getting an error from alien suggests you're using a non-Red Hat OS. All Red Hat OSs use rpm as the backend package format; with either yum or dnf for the frontend package delivery mechanism. Your system has something else on the backend and frontend; e.g. deb packages delivered by apt in Ubuntu. In other words this question about CentOS and EPEL does not apply to your situation. Hope that helps!
    – Rich
    Oct 17 '17 at 20:52













3












3








3






This means the repo "epel" was not configured. The first command evidently failed:



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


This should place a file at /etc/yum.repos.d/epel.repo, with a first line:



[epel]


That first line is the name of the repo, so if you don't see it, it's not there.



Try downloading the file first -- just paste the URL into the address bar of a browser:



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


And work from there by installing it:



sudo rpm -ivh epel-release-6-8.noarch.rpm


The package enables the epel repo by default, so you shouldn't have to say --disablerepo='*' --enablerepo=epel (note my difference of opinion on quotes).






share|improve this answer












This means the repo "epel" was not configured. The first command evidently failed:



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


This should place a file at /etc/yum.repos.d/epel.repo, with a first line:



[epel]


That first line is the name of the repo, so if you don't see it, it's not there.



Try downloading the file first -- just paste the URL into the address bar of a browser:



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


And work from there by installing it:



sudo rpm -ivh epel-release-6-8.noarch.rpm


The package enables the epel repo by default, so you shouldn't have to say --disablerepo='*' --enablerepo=epel (note my difference of opinion on quotes).







share|improve this answer












share|improve this answer



share|improve this answer










answered May 20 '16 at 17:23









Rich

341211




341211











  • By the way, rpm tells me rpm: RPM should not be used directly install RPM packages, use Alien instead! when I try to run sudo rpm
    – Timothy Swan
    Oct 11 '17 at 16:10










  • @TimothySwan - The fact you're getting an error from alien suggests you're using a non-Red Hat OS. All Red Hat OSs use rpm as the backend package format; with either yum or dnf for the frontend package delivery mechanism. Your system has something else on the backend and frontend; e.g. deb packages delivered by apt in Ubuntu. In other words this question about CentOS and EPEL does not apply to your situation. Hope that helps!
    – Rich
    Oct 17 '17 at 20:52
















  • By the way, rpm tells me rpm: RPM should not be used directly install RPM packages, use Alien instead! when I try to run sudo rpm
    – Timothy Swan
    Oct 11 '17 at 16:10










  • @TimothySwan - The fact you're getting an error from alien suggests you're using a non-Red Hat OS. All Red Hat OSs use rpm as the backend package format; with either yum or dnf for the frontend package delivery mechanism. Your system has something else on the backend and frontend; e.g. deb packages delivered by apt in Ubuntu. In other words this question about CentOS and EPEL does not apply to your situation. Hope that helps!
    – Rich
    Oct 17 '17 at 20:52















By the way, rpm tells me rpm: RPM should not be used directly install RPM packages, use Alien instead! when I try to run sudo rpm
– Timothy Swan
Oct 11 '17 at 16:10




By the way, rpm tells me rpm: RPM should not be used directly install RPM packages, use Alien instead! when I try to run sudo rpm
– Timothy Swan
Oct 11 '17 at 16:10












@TimothySwan - The fact you're getting an error from alien suggests you're using a non-Red Hat OS. All Red Hat OSs use rpm as the backend package format; with either yum or dnf for the frontend package delivery mechanism. Your system has something else on the backend and frontend; e.g. deb packages delivered by apt in Ubuntu. In other words this question about CentOS and EPEL does not apply to your situation. Hope that helps!
– Rich
Oct 17 '17 at 20:52




@TimothySwan - The fact you're getting an error from alien suggests you're using a non-Red Hat OS. All Red Hat OSs use rpm as the backend package format; with either yum or dnf for the frontend package delivery mechanism. Your system has something else on the backend and frontend; e.g. deb packages delivered by apt in Ubuntu. In other words this question about CentOS and EPEL does not apply to your situation. Hope that helps!
– Rich
Oct 17 '17 at 20:52

















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f252410%2ferror-getting-repository-data-for-epel-repository-not-found%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?