用于 rhel-fedora Amazon Linux AMI 的 ClamAV 版本更新
ClamAV Version Update for rhel-fedora Amazon Linux AMI
我使用 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 环境有点陌生,感觉缺少某个地方的主要步骤。提前致谢。
0.102.4
是过时的旧版本。实际版本为 0.103.5
或更高版本。
以下是您无法更新的一些原因ClamAV
:
- Amazon 远程存储库已过时且不再维护(您应该更新 Linux OS 才能迁移到新存储库)。如果您使用当前的 EC2 实例几年没有更新,这种情况是最有可能的
- 本地存储库信息已过时。尝试 运行
sudo yum update
在 ClamAV
安装之前更新本地信息
如果sudo yum update
没有帮助尝试下载最新的clamav-0.104.2.linux.x86_64.rpm
and install it manually(不要忘记先删除旧版本)。
我使用 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 环境有点陌生,感觉缺少某个地方的主要步骤。提前致谢。
0.102.4
是过时的旧版本。实际版本为 0.103.5
或更高版本。
以下是您无法更新的一些原因ClamAV
:
- Amazon 远程存储库已过时且不再维护(您应该更新 Linux OS 才能迁移到新存储库)。如果您使用当前的 EC2 实例几年没有更新,这种情况是最有可能的
- 本地存储库信息已过时。尝试 运行
sudo yum update
在ClamAV
安装之前更新本地信息
如果sudo yum update
没有帮助尝试下载最新的clamav-0.104.2.linux.x86_64.rpm
and install it manually(不要忘记先删除旧版本)。