・現象
[root@centos ~]# yum -y install clamd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: ftp.nara.wide.ad.jp
* base: ftp.nara.wide.ad.jp
* epel: ftp.riken.jp
* extras: ftp.nara.wide.ad.jp
* updates: ftp.riken.jp
Setting up Install Process
No package clamd available.
Nothing to do
・対処法はこちら↓
yumにRPMforgeリポジトリ追加
俺みたいにいつもyumにお世話になっている人では、yumがないとサーバ構築できなくなるとも言えるかも。。。(汗)
RPMforgeリポジトリを追加することで、標準リポジトリに提供されてないパッケージもyumで直接インスールできるようにする。
まぁ。。。もちろん優先順位としては標準リポジトリが上(当たり前っす)。。。
・32bit用はこちら↓
[root@centos ~]# wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
[root@centos ~]# rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
・64bit用はこちら↓
[root@centos ~]# wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
[root@centos ~]# rpm -ivh rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
・署名GPGキーインポート
[root@centos ~]# rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
・とりあえずデフォルトで「無効」にしときましょう。
[root@centos ~]# vi /etc/yum.repos.d/rpmforge.repo
enabled = 1
↓
enabled = 0
以上。。。
・RPMforgeリポジトリデフォルトは有効になってる時yumで実行例
[root@centos ~]# yum -y install clamd
・RPMforgeリポジトリデフォルトは無効になってる時yumで実行例
[root@centos ~]# yum -y --enablerepo=rpmforge install clamd
・yum-updatesd を停止
[root@centos ~]# /etc/init.d/yum-updatesd stop
・yum-updatesdをアンインストール
[root@centos ~]# yum -y remove yum-updatesd
・手動アップデート
[root@centos ~]# yum -y update
最近のコメント