yum update を実行すると OSError: [Errno 2] No such file or directory エラーが発生する

Solution Verified - Updated -

Issue

  • Satellite または RHN でサーバーを登録して yum を実行すると以下のエラーが発生します。
# 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.