参考:
RPMforge/Using - RPMRepo Wiki
AdditionalResources/Repositories/RPMForge - CentOS Wiki
http://wiki.centos.org/AdditionalResources/Repositories/RPMForge?action=show&redirect=Repositories%2FRPMForge
yum-prioritiesを導入
# yum install yum-priorities # vi /etc/yum.repos.d/CentOS-Base.repo
[base], [addons], [updates], [extras] ... priority=1
[contrib] ... priority=2
[centosplus] needs the same priority as [base], ... but should be left disabled (enabled=0)
Third Party Repos such as rpmforge ... priority=N (where N is > 10 and based on your preference)
rpmforgeのセットアップ
# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm pm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt # rpm -i rpmforge-release-0.3.6-1.el5.rf.i386.rpm # vi /etc/yum.repos.d/rpmforge.repo
変更内容
--- /etc/yum.repos.d/rpmforge.repo 2009/08/21 09:08:58 1.1 +++ /etc/yum.repos.d/rpmforge.repo 2009/08/21 09:09:11 @@ -9,3 +9,4 @@ protect = 0 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag gpgcheck = 1 +priority = 11
設定の確認
$ sudo yum check-update
rpmforgeの行が出ればOK。
0 件のコメント:
コメントを投稿