yumの設定ファイル
いつの日か、FC6 以前で出るようになりました
Error: Cannot find a valid baseurl for repo: core
このエラーのときです
設定ファイルを書き換えます
1. coreのリストを作る
# vi /etc/yum.repos.d/local-core
書き込む内容ここから
http://ftp.riken.jp/Linux/fedora/core/$releaserver...
http://ftp.kddilabs.jp/Linux/packages/fedora/core/...
http://ftp.sfc.wide.ad.jp/pub/Linux/Fedora/$releas...
http://ftp.nara.wide.ad.jp/pub/Linux/fedora/core/$...
http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/$rele...
書き込む内容ここまで
2. coreを設定する
# vi /etc/yum.repos.d/fedora-core.repo
変更する内容ここから
mirrorlist=file:///etc/yum.repos.d/local-core
変更する内容ここまで
3. updateのリストを作る
# vi /etc/yum.repos.d/local-updates
書き込む内容ここから
http://ftp.riken.jp/Linux/fedora/core/updates/$rel...
http://ftp.kddilabs.jp/Linux/packages/fedora/core/...
http://ftp.sfc.wide.ad.jp/pub/Linux/Fedora/updates...
http://ftp.nara.wide.ad.jp/pub/Linux/fedora/core/u...
http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/updat...
書き込む内容ここまで
4. updateを設定する
# vi /etc/yum.repos.d/fedora-updates.repo
変更する内容ここから
mirrorlist=file:///etc/yum.repos.d/local-updates
変更する内容ここまで
5. extrasのリストを作る
# vi /etc/yum.repos.d/local-extras
書き込む内容ここから
http://ftp.riken.jp/Linux/fedora/extras/$releaserv...
http://ftp.kddilabs.jp/Linux/packages/fedora/extra...
http://ftp.nara.wide.ad.jp/pub/Linux/fedora/extras...
http://ftp.jaist.ac.jp/pub/Linux/Fedora/extras/$re...
書き込む内容ここまで
6. extrasを設定する
# vi /etc/yum.repos.d/local-extras
変更する内容ここから
mirrorlist=file:///etc/yum.repos.d/local-extras
変更する内容ここまで
1. coreのリストを作る
# vi /etc/yum.repos.d/local-core
書き込む内容ここから
http://ftp.riken.jp/Linux/fedora/core/$releaserver...
http://ftp.kddilabs.jp/Linux/packages/fedora/core/...
http://ftp.sfc.wide.ad.jp/pub/Linux/Fedora/$releas...
http://ftp.nara.wide.ad.jp/pub/Linux/fedora/core/$...
http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/$rele...
書き込む内容ここまで
2. coreを設定する
# vi /etc/yum.repos.d/fedora-core.repo
変更する内容ここから
mirrorlist=file:///etc/yum.repos.d/local-core
変更する内容ここまで
3. updateのリストを作る
# vi /etc/yum.repos.d/local-updates
書き込む内容ここから
http://ftp.riken.jp/Linux/fedora/core/updates/$rel...
http://ftp.kddilabs.jp/Linux/packages/fedora/core/...
http://ftp.sfc.wide.ad.jp/pub/Linux/Fedora/updates...
http://ftp.nara.wide.ad.jp/pub/Linux/fedora/core/u...
http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/updat...
書き込む内容ここまで
4. updateを設定する
# vi /etc/yum.repos.d/fedora-updates.repo
変更する内容ここから
mirrorlist=file:///etc/yum.repos.d/local-updates
変更する内容ここまで
5. extrasのリストを作る
# vi /etc/yum.repos.d/local-extras
書き込む内容ここから
http://ftp.riken.jp/Linux/fedora/extras/$releaserv...
http://ftp.kddilabs.jp/Linux/packages/fedora/extra...
http://ftp.nara.wide.ad.jp/pub/Linux/fedora/extras...
http://ftp.jaist.ac.jp/pub/Linux/Fedora/extras/$re...
書き込む内容ここまで
6. extrasを設定する
# vi /etc/yum.repos.d/local-extras
変更する内容ここから
mirrorlist=file:///etc/yum.repos.d/local-extras
変更する内容ここまで
タグ
このページへのコメント
qwLXKl Thank you ever so for you article post.Really looking forward to read more. Awesome.