0

我已经使用 ClamAV 很长一段时间没有任何问题,但是就在本周,每当我尝试更新病毒定义数据库时,我开始收到以下错误:

[root@staging milindr]# freshclam
ClamAV update process started at Thu Feb 10 14:12:14 2022
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.102.4 Recommended version: 0.103.5
DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
daily database available for download (remote version: 26448)
Time: 0.0s, ETA: 0.0s [=============================>] 16B/16B
WARNING: downloadFile: Unexpected response (403) from https://database.clamav.net/daily.cvd
WARNING: getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd
Trying again in 5 secs...
daily database available for download (remote version: 26448)
Time: 0.0s, ETA: 0.0s [=============================>] 16B/16B
WARNING: downloadFile: Unexpected response (403) from https://database.clamav.net/daily.cvd
WARNING: getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd
Trying again in 5 secs...
daily database available for download (remote version: 26448)
Time: 0.0s, ETA: 0.0s [=============================>] 16B/16B
ERROR: downloadFile: Unexpected response (403) from https://database.clamav.net/daily.cvd
ERROR: getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd
Giving up on https://database.clamav.net...
ERROR: Update failed for database: daily
WARNING: fc_update_databases: fc_update_database failed: HTTP GET failed (11)
ERROR: Database update process failed: HTTP GET failed (11)
ERROR: Update failed.

但是,当我尝试更新它时,我得到以下响应:

[root@staging milindr]# yum -y install clamav clamav-update
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main                                                                                                                                                                            | 2.1 kB  00:00:00
amzn-updates                                                                                                                                                                         | 3.8 kB  00:00:00
1067 packages excluded due to repository priority protections
Package clamav-0.102.4-1.44.amzn1.x86_64 already installed and latest version
Package clamav-update-0.102.4-1.44.amzn1.x86_64 already installed and latest version
Nothing to do

不确定为什么会出现这个问题以及我可以做些什么来解决它,因为我尝试按照 https://www.clamav.net/documents/upgrading-clamav上提供的步骤更新我的 clamAV 版本,但这不是很好也有帮助。

我对 Linux 环境有点陌生,感觉在某个地方错过了重要的一步。提前致谢。

4

1 回答 1

0

0.102.4是过时的旧版本。实际版本是0.103.5或更新。

以下是您无法更新的一些原因ClamAV

  1. Amazon 远程存储库已过时且不再维护(您应该更新您的 Linux 操作系统以便能够迁移到新的存储库)。如果您使用当前的 EC2 实例几年而没有更新,这种情况最有可能
  2. 本地存储库信息已过时。sudo yum update安装前尝试运行ClamAV更新本地信息

如果sudo yum update没有帮助,请尝试下载最新版本clamav-0.104.2.linux.x86_64.rpm手动安装(不要忘记先删除旧版本)。

于 2022-02-10T03:48:30.130 回答