ERROR: downloadFile: Unexpected response (403) from https://database.clamav.net/daily-26440.cdiff
ERROR: getpatch: Can’t download daily-26440.cdiff from https://database.clamav.net/daily-26440.cdiff
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
ERROR: Update failed for database: daily
ERROR: Database update process failed: HTTP GET failed (11)
ERROR: Update failed.
If you receive these error messages from ClamAV, you may need to update ClamAV.
Running ClamAV Update on Debian Linux
$ apt update
$ apt upgrade clamav
ClamAV Versions Check.
$ clamd --version
ClamAV 0.103.5/26441/Wed Feb 2 10:22:13 2022
Run ClamAV Update on CentOS Linux
$ yum update clamav
ClamAV updates are downloaded and installed.
Updated:
clamav.x86_64 0:0.103.5-1.el7
Dependency Updated:
clamav-filesystem.noarch 0:0.103.5-1.el7 clamav-lib.x86_64 0:0.103.5-1.el7 clamav-update.x86_64 0:0.103.5-1.el7 clamd.x86_64 0:0.103.5-1.el7
Complete!
After updating ClamAV, update the database.
$ freshclam
ClamAV update process started at Wed Feb 2 10:24:33 2022
daily database available for update (local version: 26439, remote version: 26440)
Current database is 1 version behind.
Downloading database patch # 26440...
Time: 0.2s, ETA: 0.0s [=============================>] 14.13KiB/14.13KiB
Testing database: '/var/lib/clamav/tmp.b7d0e4b52b/clamav-3a8a649f76dca0722c7acef0385a1cc2.tmp-daily.cld' ...
Database test passed.
daily.cld updated (version: 26440, sigs: 1973273, f-level: 90, builder: raynman)
main database available for download (remote version: 62)
Time: 2m 04s, ETA: 0.0s [=============================>] 162.58MiB/162.58MiB
Testing database: '/var/lib/clamav/tmp.b7d0e4b52b/clamav-a0387032c1bad0a864db82c1039625eb.tmp-main.cvd' ...
Database test passed.
main.cvd updated (version: 62, sigs: 6647427, f-level: 90, builder: sigmgr)
bytecode.cld database is up-to-date (version: 333, sigs: 92, f-level: 63, builder: awillia2)
Check ClamAV version.
$ clamd --version
ClamAV 0.103.5/26440/Tue Feb 1 10:22:16 2022
$ freshclam --version
ClamAV 0.103.5/26440/Tue Feb 1 10:22:32 2022
You want `apt install clamav` instead of `apt upgrade clamav`. `apt upgrade` installs all available updates for all packages installed on the system, and the `clamav` after it has no effect.
A more complete command would be `apt install clamav clamav-base clamav-freshclam`, that will also update related packages.
Thanks for the blog post! Somehow I didn’t think to update clamav to fix the problem.
Thanks for comment! well we did it successfully with ‘apt upgrade’ on several debian 10, after that freshclam will do updates again, note. apt install triggers the upgrade for an already installed package. note. we haven’t done it on ubuntu yet!