How to instruct dnf/yum to skip repositories that are not available?
Issue
- How to instruct
dnf/yumto skip repositories that are not available? - How to skip unavailable repo when
dnffails with "Error: Failed to download metadata"? - How to skip unavailable repo when
yumfails with "failure: repodata/repomd.xml"?
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.