clamavをupdate(CentOS6)
epelでインストールしていて、いつもは使わないようにenable=0にしているので、
明示的にepelを使用するようにして実行。
※ちなみに通常リポジトリと他のリポジトリに同じ名前のパッケージがある場合、どのリポジトリでインストールしたのか判別する方法はあるだろうか。
# yum --enablerepo=epel update clamav Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.cs.pu.edu.tw * extras: ftp.cs.pu.edu.tw * updates: mirror01.idc.hinet.net Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package clamav.x86_64 0:0.97.3-3.el6 will be updated --> Processing Dependency: clamav = 0.97.3-3.el6 for package: clamd-0.97.3-3.el6 .x86_64 ---> Package clamav.x86_64 0:0.97.5-1.el6 will be an update --> Processing Dependency: clamav-db = 0.97.5-1.el6 for package: clamav-0.97.5-1 .el6.x86_64 --> Running transaction check ---> Package clamav-db.x86_64 0:0.97.3-3.el6 will be updated ---> Package clamav-db.x86_64 0:0.97.5-1.el6 will be an update ---> Package clamd.x86_64 0:0.97.3-3.el6 will be updated ---> Package clamd.x86_64 0:0.97.5-1.el6 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Updating: clamav x86_64 0.97.5-1.el6 epel 10 M Updating for dependencies: clamav-db x86_64 0.97.5-1.el6 epel 34 M clamd x86_64 0.97.5-1.el6 epel 131 k Transaction Summary ================================================================================ Upgrade 3 Package(s) Total download size: 45 M Is this ok [y/N]: y Downloading Packages: (1/3): clamav-0.97.5-1.el6.x86_64.rpm | 10 MB 00:03 (2/3): clamav-db-0.97.5-1.el6.x86_64.rpm | 34 MB 00:12 (3/3): clamd-0.97.5-1.el6.x86_64.rpm | 131 kB 00:00 -------------------------------------------------------------------------------- Total 2.6 MB/s | 45 MB 00:17 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : clamav-db-0.97.5-1.el6.x86_64 1/6 Updating : clamav-0.97.5-1.el6.x86_64 2/6 Updating : clamd-0.97.5-1.el6.x86_64 3/6 Cleanup : clamd-0.97.3-3.el6.x86_64 4/6 Cleanup : clamav-0.97.3-3.el6.x86_64 5/6 Cleanup : clamav-db-0.97.3-3.el6.x86_64 6/6 Verifying : clamav-0.97.5-1.el6.x86_64 1/6 Verifying : clamd-0.97.5-1.el6.x86_64 2/6 Verifying : clamav-db-0.97.5-1.el6.x86_64 3/6 Verifying : clamav-db-0.97.3-3.el6.x86_64 4/6 Verifying : clamd-0.97.3-3.el6.x86_64 5/6 Verifying : clamav-0.97.3-3.el6.x86_64 6/6 Updated: clamav.x86_64 0:0.97.5-1.el6 Dependency Updated: clamav-db.x86_64 0:0.97.5-1.el6 clamd.x86_64 0:0.97.5-1.el6 Complete!