yum update を実行すると OSError: [Errno 2] No such file or directory エラーが発生する
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.