-
Bug
-
Resolution: Unresolved
-
Normal
-
rhel-10.0
-
dnf-4.20.0-18.el10
-
No
-
Moderate
-
ZStream
-
rhel-swm
-
23
-
25
-
0
-
False
-
False
-
-
Yes
-
None
-
Regression Exception
-
-
Pass
-
Automated
-
Bug Fix
-
-
Done
-
Done
-
Done
-
Not Required
-
None
dnf-automatic wrongly detetects releasever_minor as an empty string on RHEL 10.0. As a result EPEL metalink URL is wrongly expanded to an address for a latest RHEL 10. An example:
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel${releasever_minor:+-z}-$releasever&arch=$basearch
expands to:
# dnf-automatic [...] # grep 'metalink' /var/log/dnf.librepo.log | tail -n 1 2025-07-29T09:23:51+0200 INFO Downloading: https://mirrors.fedoraproject.org/metalink?repo=epel-10&arch=x86_64
while expected value is:
2025-07-29T09:22:24+0200 INFO Downloading: https://mirrors.fedoraproject.org/metalink?repo=epel-z-10&arch=x86_64
Affected package: python3-dnf-4.20.0-12.el10_0.noarch
Note that dnf program does not suffer from this problem. It is specific to dnf-automatic tool.
- links to
-
RHBA-2025:147869 dnf bug fix and enhancement update