在 CentOS 上升级 ClamAV:“软件包 clamav 可用,但未安装”

在 CentOS 上升级 ClamAV:“软件包 clamav 可用,但未安装”

你好,我尝试将 ClamAV 升级到最新版本 099.2(从 0.98.7 开始)。我运行了:

yum update clamav

我收到以下消息,不确定该怎么做才能完成升级,谢谢:

Loaded plugins: fastestmirror
Setting up Upgrade Process
Determining fastest mirrors
epel/metalink                                                                                                                                                                           | 2.4 kB     00:00
 * base: mirror.intergrid.com.au
 * epel: mirror.intergrid.com.au
 * extras: centos.mirror.serversaustralia.com.au
 * updates: centos.mirror.digitalpacific.com.au
base                                                                                                                                                                                    | 3.7 kB     00:00
base/primary_db                                                                                                                                                                         | 4.7 MB     00:00
epel                                                                                                                                                                                    | 4.3 kB     00:00
epel/primary_db                                                                                                                                                                         | 5.9 MB     00:00
extras                                                                                                                                                                                  | 3.4 kB     00:00
extras/primary_db                                                                                                                                                                       |  37 kB     00:00
r1soft                                                                                                                                                                                  |  951 B     00:00
updates                                                                                                                                                                                 | 3.4 kB     00:00
updates/primary_db                                                                                                                                                                      | 703 kB     00:00
Package(s) clamav available, but not installed.
No Packages marked for Update

我安装了 0.99.2,但检查时发现运行的版本仍是 0.98.7。我再次执行 (yum install clamd) 安装,它显示已安装 0.99.2:

root@sau-ee0dd-vs [~]# yum install clamav
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink                                            | 3.8 kB     00:00
 * base: mirror.intergrid.com.au
 * epel: mirror.intergrid.com.au
 * extras: centos.mirror.serversaustralia.com.au
 * updates: centos.mirror.serversaustralia.com.au
base                                                     | 3.7 kB     00:00
epel                                                     | 4.3 kB     00:00
epel/primary_db                                          | 5.9 MB     00:00
extras                                                   | 3.4 kB     00:00
r1soft                                                   |  951 B     00:00
updates                                                  | 3.4 kB     00:00
updates/primary_db                                       | 766 kB     00:00
Package clamav-0.99.2-2.el6.x86_64 already installed and latest version
Nothing to do

答案1

当你进行更新时,你应该看到类似的内容:

  Updating   : clamav-filesystem-0.99.2-1.el7.noarch                       1/14
  Updating   : clamav-data-0.99.2-1.el7.noarch                             2/14
  Updating   : clamav-lib-0.99.2-1.el7.x86_64                              3/14
  Updating   : clamav-server-0.99.2-1.el7.x86_64                           4/14
  Updating   : clamav-server-systemd-0.99.2-1.el7.noarch                   5/14
  Updating   : clamav-0.99.2-1.el7.x86_64                                  6/14
  Updating   : clamav-update-0.99.2-1.el7.x86_64                           7/14

如果其中一些主要文件(特别是 clamav-data)确实已更新,则可以忽略显示的版本。

如果发现任何问题,请重新加载 clamav 守护进程(service clamd restart)。

相关内容