Bug 2353170 - can't install packages from epel when using RHEL-10.1
Summary: can't install packages from epel when using RHEL-10.1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: epel-release
Version: epel10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Carl George 🤠
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-18 13:37 UTC by Bruno Goncalves
Modified: 2025-04-10 00:45 UTC (History)
9 users (show)

Fixed In Version: epel-release-10-5.el10_0
Clone Of:
Environment:
Last Closed: 2025-04-09 22:10:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Bruno Goncalves 2025-03-18 13:37:04 UTC
Description of problem:

It seems that when epel branched 10.0, it should have created 10.1 that would point to 10.

Otherwise, on rhel-10.1 epel repos can't be found:

Errors during downloading metadata for repository 'epel':
  - Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-10.1&arch=x86_64 (IP: 18.192.40.85)
  - Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-10.1&arch=x86_64 (IP: 152.19.134.198)
  - Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-10.1&arch=x86_64 (IP: 38.145.60.21)
Error: Failed to download metadata for repo 'epel': Cannot prepare internal mirrorlist: Status code: 404 for https://mirrors.fedoraproject.org/metalink?repo=epel-10.1&arch=x86_64 (IP: 152.19.134.198)

Comment 1 jiri vanek 2025-03-19 08:11:12 UTC
All those minor 10.x 10.y are going to hurt

Comment 3 Carl George 🤠 2025-04-03 05:05:25 UTC
The EPEL Steering Committee is working on some changes to the EPEL 10 repo structure to address upgrade path concerns.

https://pagure.io/epel/issue/324

Once that work is complete, pre-release RHEL 10.1 systems will be able to request EPEL 10.1 by setting their releasever DNF variable to 10.1.

Comment 4 Fedora Update System 2025-04-07 23:37:51 UTC
FEDORA-EPEL-2025-c37fe4fbd9 (epel-release-10-5.el10_0) has been submitted as an update to Fedora EPEL 10.0.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-c37fe4fbd9

Comment 5 Fedora Update System 2025-04-08 03:12:26 UTC
FEDORA-EPEL-2025-c37fe4fbd9 has been pushed to the Fedora EPEL 10.0 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-c37fe4fbd9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2025-04-09 22:10:43 UTC
FEDORA-EPEL-2025-c37fe4fbd9 (epel-release-10-5.el10_0) has been pushed to the Fedora EPEL 10.0 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Carl George 🤠 2025-04-10 00:44:25 UTC
This update is live for EPEL 10.0 and 10.1.  The default metalinks work as follows.


CentOS 10 systems don't have releasever_minor defined, and thus will request an epel-10 repo from mirrormanager, which returns EPEL 10.1 repos.

root@c10:~# dnf -q --repo epel repolist -v | grep -e Repo-metalink -e Repo-baseurl
Repo-metalink      : https://mirrors.fedoraproject.org/metalink?repo=epel-10&arch=x86_64
Repo-baseurl       : http://mirror.nodesdirect.com/epel/10.1/Everything/x86_64/ (221 more)


RHEL 10 systems have releasever_minor defined, and thus will request an epel-z-10 repo from mirrormanager, which returns EPEL 10.0 repos.

root:~# dnf -q --repo epel repolist -v | grep -e Repo-metalink -e Repo-baseurl
Repo-metalink      : https://mirrors.fedoraproject.org/metalink?repo=epel-z-10&arch=x86_64
Repo-baseurl       : https://nocix.mm.fcix.net/epel/10.0/Everything/x86_64/ (226 more)


If you're using a pre-release RHEL 10.1 system, you'll need to override releasever to 10.1.

root:~# dnf -q --releasever 10.1 --repo epel repolist -v | grep -e Repo-metalink -e Repo-baseurl
Repo-metalink      : https://mirrors.fedoraproject.org/metalink?repo=epel-z-10.1&arch=x86_64
Repo-baseurl       : https://mirror.fmt-2.serverforge.org/epel/10.1/Everything/x86_64/ (226 more)

Comment 8 Carl George 🤠 2025-04-10 00:45:05 UTC
If you can't use metalinks for whatever reason and need to configure a baseurl, use the commented out example in epel.repo as a template.  Properly configured, it should work as follows.


CentOS 10 systems don't have releasever_minor defined, and thus will request a repo under the path epel/10 (a symlink to epel/10.1).

root@c10:~# dnf -q --repo epel repolist -v | grep Repo-baseurl
Repo-baseurl       : https://mirror.fcix.net/epel/10/Everything/x86_64/


RHEL 10 systems have releasever_minor defined, and thus will request a repo under the path epel/10z (a symlink to epel/10.0).

root:~# dnf -q --repo epel repolist -v | grep Repo-baseurl
Repo-baseurl       : https://mirror.fcix.net/epel/10z/Everything/x86_64/


If you're using a pre-release RHEL 10.1 system, you'll need to override releasever to 10.1, which will request a repo under the path epel/10.1z (a symlink to epel/10.1).

root:~# dnf -q --releasever 10.1 --repo epel repolist -v | grep Repo-baseurl
Repo-baseurl       : https://mirror.fcix.net/epel/10.1z/Everything/x86_64/


Note You need to log in before you can comment on or make changes to this bug.