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
已提問 1 年前檢視次數 5477 次
2 個答案
1
已接受的答案

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
專家
已回答 1 年前
  • 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
已回答 8 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南