'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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.