LoginSignup
3
3

More than 5 years have passed since last update.

yumアップデートrpmforgeさんもrepoさんも応答しない、clamdアップデート。

Posted at

yumでclamdアップデートしてみたらリポジトリが返事しない

現バージョン確認

yum list installed |grep "clam"
clamav.x86_64 0.98.4-1.el6.rf @rpmforge
clamav-db.x86_64 0.98.1-1.el6 @epel
clamd.x86_64 0.98.4-1.el6.rf @rpmforge

最新バージョンの問い合わせ

yum check-update |grep "clam"

変更無し!

rpmforgeをオフ

vi /etc/yum.repos.d/rpmforge.repo

enabled = 1 => enabled = 0

3最新バージョンの問い合わせ

yum check-update |grep "clam"

repoさんに聞いても同じバージョンしか出てこない!

repo問い合わせを変更

vi /etc/yum.repos.d/epel.repo

mirrorlistからbaseurlに戻す

最新バージョンの問い合わせ

yum check-update |grep "clam"
clamav.x86_64 0.99.2-1.el6 epel
clamav-db.x86_64 0.99.2-1.el6 epel
clamd.x86_64 0.99.2-1.el6 epel

clamdとめる

/etc/rc.d/init.d/clamd stop

バージョンアップ

yum update clamd

成功!

いろいろ再起動

/etc/rc.d/init.d/clamd start
/etc/rc.d/init.d/mysqld restart
/etc/rc.d/init.d/postfix restart[info]

3
3
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3