내용으로 건너뛰기

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?

질문됨 3년 전8.5천회 조회

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.

전문가

답변함 3년 전

  • 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

답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.