How to fix if one of the configured repositories failed with YUM?

Sometimes there is a connection error or problem with the EPEL repository. This will make all attempts to use YUM (The update and software installer for the Linux OS core) fail with a message like: 

One of the configured repositories failed (Unknown)

The best way to handle this error is to add this to the end of any YUM commands:


For example: 

yum update --disablerepo=epel\*

Another is: 

yum install softwarename -y --disablerepo=epel\*

This way you can use YUM right away. The epel REPOs are still there and active once the epel repositories are working again.

You can also try to update the certificate:

yum upgrade ca-certificates --disablerepo = epel

  • repositories, yum, disablerepo, epel
  • 110 Users Found This Useful
Was this answer helpful?

Related Articles

How to flush your DNS cache

Your home computer creates a cache for all DNS settings. It does this to save time each time you...

What is the root login for my new VPS server?

The root login is the same password our system sent you in your welcome email. You just change...

What is the path to PERL?

The path to PERL in PERL script is:#!/usr/local/bin/perl

Do you troubleshoot scripts and apps?

Hello,Sorry, but troubleshooting sripts and apps needs to be done by the scipt maker or a...

How to use PHP-CLI

You would call '/usr/local/bin/php' if you need the php-cli binary, and '/usr/bin/php' if you...