Hide Forgot
https://dnf.readthedocs.io/en/latest/conf_ref.html#repo-variables documents the use of substitution variables like DNF_VAR_foo, but it doesn't mention numeric variables (like DNF0 / DNF1) at all. The only actual mention I found is in https://github.com/rpm-software-management/dnf/blob/c438466a239175fc4ad61b7607d80378a56b7b3f/tests/conf/test_substitutions.py For reference, the substitutions logic is here: https://github.com/rpm-software-management/dnf/blob/c438466a239175fc4ad61b7607d80378a56b7b3f/dnf/conf/substitutions.py
PR https://github.com/rpm-software-management/dnf/pull/1637 enhances repo variables documentation
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (yum bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2020:4510