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
feita há um ano5477 visualizações
2 Respostas
1
Resposta aceita

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
ESPECIALISTA
respondido há um ano
  • 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
respondido há 8 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas