FC-5にバージョンアップしたときの yum の設定です。(日本のミラーからアップデートをインストールするために接続先を変更、また livna.repo の接続先も変更。)
日本のミラーからアップデートをインストールするために接続先を変更(core)
[root@server ~]# vi /etc/yum.repos.d/fedora-core.repo
[core]
name=Fedora Core $releasever – $basearch
baseurl=http://ftp.kddilabs.jp/Linux/packages/fedora/core/$releasever/$basearch/os/
http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/$releasever/$basearch/os/
http://ftp.iij.ad.jp/pub/linux/fedora/core/$releasever/$basearch/os/
#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[core-debuginfo]
name=Fedora Core $releasever – $basearch – Debug
baseurl=http://ftp.kddilabs.jp/Linux/packages/fedora/core/$releasever/$basearch/debug/
http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/$releasever/$basearch/debug/
http://ftp.iij.ad.jp/pub/linux/fedora/core/$releasever/$basearch/debug/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[core-source]
name=Fedora Core $releasever – Source
baseurl=http://ftp.kddilabs.jp/Linux/packages/fedora/core/$releasever/source/SRPMS/
http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/$releasever/source/SRPMS/
http://ftp.iij.ad.jp/pub/linux/fedora/core/$releasever/source/SRPMS/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
日本のミラーからアップデートをインストールするために接続先を変更(extras)
[root@server ~]# vi /etc/yum.repos.d/fedora-extras.repo
[extras]
name=Fedora Extras $releasever – $basearch
baseurl=http://ftp.kddilabs.jp/Linux/packages/fedora/extras/$releasever/$basearch/
http://ftp.jaist.ac.jp/pub/Linux/Fedora/extras/$releasever/$basearch/
http://ftp.iij.ad.jp/pub/linux/fedora/extras/$releasever/$basearch/
#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1
[extras-debuginfo]
name=Fedora Extras $releasever – $basearch – Debug
baseurl=http://ftp.kddilabs.jp/Linux/packages/fedora/extras/$releasever/$basearch/debug/
http://ftp.jaist.ac.jp/pub/Linux/Fedora/extras/$releasever/$basearch/debug/
http://ftp.iij.ad.jp/pub/linux/fedora/extras/$releasever/$basearch/debug/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/debug/
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1
[extras-source]
name=Fedora Extras $releasever – Source
baseurl=http://ftp.kddilabs.jp/Linux/packages/fedora/extras/$releasever/SRPMS/
http://ftp.jaist.ac.jp/pub/Linux/Fedora/extras/$releasever/SRPMS/
http://ftp.iij.ad.jp/pub/linux/fedora/extras/$releasever/SRPMS/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/SRPMS/
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1
日本のミラーからアップデートをインストールするために接続先を変更(updates)
[root@server ~]# vi /etc/yum.repos.d/fedora-updates.repo
[updates]
name=Fedora Core $releasever – $basearch – Updates
baseurl=http://ftp.kddilabs.jp/Linux/packages/fedora/core/updates/$releasever/$basearch/
http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/updates/$releasever/$basearch/
http://ftp.iij.ad.jp/pub/linux/fedora/core/updates/$releasever/$basearch/
#mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
[updates-debuginfo]
name=Fedora Core $releasever – $basearch – Updates – Debug
baseurl=http://ftp.kddilabs.jp/Linux/packages/fedora/core/updates/$releasever/$basearch/debug/
http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/updates/$releasever/$basearch/debug/
http://ftp.iij.ad.jp/pub/linux/fedora/core/updates/$releasever/$basearch/debug/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/debug/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
[updates-source]
name=Fedora Core $releasever – Updates Source
baseurl=http://ftp.kddilabs.jp/Linux/packages/fedora/core/updates/$releasever/SRPMS/
http://ftp.jaist.ac.jp/pub/Linux/Fedora/core/updates/$releasever/SRPMS/
http://ftp.iij.ad.jp/pub/linux/fedora/core/updates/$releasever/SRPMS/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
livna.repoの接続先を変更
[root@server ~]# vi /etc/yum.repos.d/livna.repo
[livna]
name=Livna.org – Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.lvn/
↓
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
enabled=1
[livna-testing]
name=Livna.org – Fedora Compatible Packages (testing)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.lvn-testing
↓
baseurl=http://rpm.livna.org/fedora/testing/$releasever/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
enabled=0