Problem: conflicting requests - nothing provides redhat-release >= 7 needed by epel-release-7-14.noarch

0

One of the steps in how to "Set up dynamic DNS on your Amazon Linux instance" is:

Enable the Extra Packages for Enterprise Linux (EPEL) repository to gain access to the noip2 client :

sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

But when I try that, I get the following error:

Last metadata expiration check: 19:41:08 ago on Sun Jun  4 14:41:10 2023.
epel-release-latest-7.noarch.rpm                                                                                                                  337 kB/s |  15 kB     00:00
Error:
 Problem: conflicting requests
  - nothing provides redhat-release >= 7 needed by epel-release-7-14.noarch
(try to add '--skip-broken' to skip uninstallable packages)

What is the proper way to fix this?

dbataws
asked a year ago5274 views
2 Answers
1
Accepted Answer

What AMI operating system are you using?
If you are using Amazon Linux 2023, you cannot use the EPEL repository.
https://docs.aws.amazon.com/linux/al2023/ug/compare-with-al2.html#epel

Extra Packages for Enterprise Linux (EPEL) is a project in the Fedora community with the objective of creating a large array of packages for enterprise-level Linux operating systems. The project has primarily produced RHEL and CentOS packages. Amazon Linux 2 features a high level of compatibility with CentOS 7. As a result, many EPEL7 packages work on Amazon Linux 2. However, AL2023 doesn't support EPEL or EPEL-like repositories.

profile picture
EXPERT
answered a year ago
  • Indeed, my EC2 instance is running Amazon Linux 2023. What can I do to set up dynamic DNS using noip on my Amazon Linux instance? Can I replace Amazon Linux 2023 with Amazon Linux 2 in an existing instance?

  • Existing Amazon Linux 2023 cannot be changed to Amazon Linux 2. If you want to change it, you need to create a new EC2 from an Amazon Linux 2 AMI.

    Running noip on Amazon Linux 2023 can be difficult. I searched the official documentation, but could only find installation instructions based on Debian. https://www.noip.com/support/knowledgebase/installing-the-linux-dynamic-update-client-on-ubuntu

0

EPEL is a third-party, community-driven repository targeting EL distros (RHEL, and its clones or hybrids). But starting with AL2023, AL is an independent distro that uses multiple upstreams. It's not directly compatible with RHEL, and therefore EPEL packages are unlikely to work with it.

References:

AWS
answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions