yum command failed with the local repository
Issue
- Yum command run failed with the local repository and the following errors:
# yum repolist
Loaded plugins: product-id, subscription-manager
http://repo.rhel.com/Packages/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article
https://access.redhat.com/articles/1320623
If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.
http://repo.rhel.com/Packages/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
repo id repo name status
rhel rhel 0
repolist: 0
# yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Repository rhel-7-server-rpms is listed more than once in the configuration
file:///mnt/iso/Packages/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /mnt/iso/Packages/repodata/repomd.xml"
Trying other mirror.
file:///mnt/iso/Packages/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /mnt/iso/Packages/repodata/repomd.xml"
Trying other mirror.
repo id repo name status
rhel-7-server-rpms rhel-7-server-rpms 0
repolist: 0
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.