'OSError: [Errno 2] No such file or directory' error when trying to do yum update

Solution Verified - Updated -

Issue

  • After a registrating the server with Satellite/RHN, attempting to run yum cause following error
# yum check-update  
Loaded plugins: rhnplugin, security  
file:///media/RHEL_5.6%20x86_64%20DVD/Server/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/media/RHEL_5.6 x86_64 DVD/Server/repodata/repomd.xml'  
Trying other mirror.  
Error: Cannot retrieve repository metadata (repomd.xml) for repository: gcc. Please verify its path and try again

Environment

  • Red Hat Satellite Server
  • Red Hat Network

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content