Bobcares

Error Unknown repo EPEL | Resolved

by | Feb 27, 2023

Here is a quick guide to help you resolve the Error Unknown repo epel. Our cPanel Support team is here to lend a hand with your queries and issues.

Error Unknown repo EPEL | Resolved

One of our customers recently ran into the following error while attempting to install OpenStack Yoga release on CentOS Stream 8 Server. In fact, the error was noted while trying to tun the following command to install Keystone:

# dnf --enablerepo=centos-openstack-yoga,epel,powertools -y install openstack-keystone python3-openstackclient httpd mod_ssl python3-mod_wsgi python3-oauth2client mod_ssl

Error Unknown repo epelEPEL, short for Extra Packages for Enterprise Linux is a community-based, open-source repository project. It offers a high quality set of packages for Enterprise Linux including CentOS, Rocky Linux, RHEL, and Alma Linux.

The Unknown repo EPEL error often pops up when the system is unable to find the EPEL repository. The error may also be due to a disabled or incorrectly configured EPEL repository in the system. Additionally, the error may also be due to connectivity issues that are preventing the system from accessing the repository.

We can resolve the Error Unknown repo epel by installing EPEL repo as seen below:

  1. To begin with, we have to run this command in order to install EPEL repo on CentOS Stream 8:

    # dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

    Or,
    # dnf config-manager --set-enabled PowerTools
    # dnf install epel-release

  2. Next, we have to update the software packages with this command:

    # dnf update

  3. Finally, ensure EPEL repo is enabled as seen below:

    # dnf repolist
    repo id repo name
    appstream CentOS Linux 8 - AppStream
    baseos CentOS Linux 8 - BaseOS
    epel Extra Packages for Enterprise Linux 8 - x86_64
    epel-modular Extra Packages for Enterprise Linux Modular 8 - x86_64
    extras CentOS Linux 8 - Extras
    powertools CentOS Linux 8 - PowerTools

By installing EPEL repository, we are unlikely to run into this specific error again. If you need further help, drop us a line in the comments.

[Need assistance with a different issue? Our team is available 24/7.]

Conclusion

In summary, our Support Techs demonstrated how to resolve the Unknown repo epel error by installing EPEL repo with a few easy steps.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

2 Comments

  1. Arun Kumar CH

    Thanks for sharing…my issue has been resolved after follwing this article

    Reply
    • Krishna Priya

      Hello Arun,
      Thank you for your feedback! We are delighted to hear that our article was helpful to you.

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.