Translated message

A translation of this page exists in English.

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, 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