[Pkg-clamav-devel] Bug#991890: Bug#991890: clamav-freshclam: fails to update virus database, cannot apply patch
Sebastian Andrzej Siewior
sebastian at breakpoint.cc
Sat Sep 6 12:09:58 BST 2025
On 2021-08-04 17:49:00 [+0300], Martin-Éric Racine wrote:
> Package: clamav-freshclam
> Version: 0.103.3+dfsg-1
> Severity: important
>
Hi,
> Aug 4 17:46:16 voima freshclam[19355]: Wed Aug 4 17:46:16 2021 -> ClamAV update process started at Wed Aug 4 17:46:16 2021
> Aug 4 17:46:16 voima freshclam[19355]: Wed Aug 4 17:46:16 2021 -> daily database available for update (local version: 26206, remote version: 26253)
> Aug 4 17:46:20 voima freshclam[19355]: Wed Aug 4 17:46:20 2021 -> !cdiff_apply: lseek(desc, -350, SEEK_END) failed
> Aug 4 17:46:20 voima freshclam[19355]: Wed Aug 4 17:46:20 2021 -> !downloadPatch: Can't apply patch
> Aug 4 17:46:20 voima freshclam[19355]: Wed Aug 4 17:46:20 2021 -> Downloaded 25 patches for daily, which is fewer than the 47 expected patches.
> Aug 4 17:46:20 voima freshclam[19355]: Wed Aug 4 17:46:20 2021 -> We'll settle for this partial-update, at least for now.
> Aug 4 17:46:20 voima freshclam[19355]: Wed Aug 4 17:46:20 2021 -> Testing database: '/var/lib/clamav/tmp.67ac57ba2e/clamav-5d56aa35f9c24813f6ddcbf358c53519.tmp-daily.cld' ...
> Aug 4 17:46:20 voima freshclam[19384]: Wed Aug 4 17:46:20 2021 -> ~[LibClamAV] **************************************************
> Aug 4 17:46:20 voima freshclam[19384]: Wed Aug 4 17:46:20 2021 -> ~[LibClamAV] *** The virus database is older than 7 days! ***
> Aug 4 17:46:20 voima freshclam[19384]: Wed Aug 4 17:46:20 2021 -> ~[LibClamAV] *** Please update it as soon as possible. ***
> Aug 4 17:46:20 voima freshclam[19384]: Wed Aug 4 17:46:20 2021 -> ~[LibClamAV] **************************************************
> Aug 4 17:46:23 voima freshclam[19384]: Wed Aug 4 17:46:23 2021 -> ^[LibClamAV] hm_addhash_str: invalid hash 2512df6c7973acedbd589e37da6c�c7a
> Aug 4 17:46:23 voima freshclam[19384]: Wed Aug 4 17:46:23 2021 -> ^[LibClamAV] cli_loadhash: Malformed hash string at line 2967330
> Aug 4 17:46:23 voima freshclam[19384]: Wed Aug 4 17:46:23 2021 -> ^[LibClamAV] cli_loadhash: Problem parsing database at line 2967330
> Aug 4 17:46:23 voima freshclam[19384]: Wed Aug 4 17:46:23 2021 -> ^[LibClamAV] Can't load daily.hsb: Invalid argument passed to function
> Aug 4 17:46:23 voima freshclam[19384]: Wed Aug 4 17:46:23 2021 -> ^[LibClamAV] cli_tgzload: Can't load daily.hsb
> Aug 4 17:46:23 voima freshclam[19384]: Wed Aug 4 17:46:23 2021 -> ^[LibClamAV] Can't load /var/lib/clamav/tmp.67ac57ba2e/clamav-5d56aa35f9c24813f6ddcbf358c53519.tmp-daily.cld: Malformed database
> Aug 4 17:46:23 voima freshclam[19384]: Wed Aug 4 17:46:23 2021 -> !Failed to load new database: Malformed database
> Aug 4 17:46:23 voima freshclam[19355]: Wed Aug 4 17:46:23 2021 -> ^Database load exited with "Test failed"
> Aug 4 17:46:23 voima freshclam[19355]: Wed Aug 4 17:46:23 2021 -> !Database test FAILED.
> Aug 4 17:46:23 voima freshclam[19355]: Wed Aug 4 17:46:23 2021 -> !Unexpected error when attempting to update daily: Test failed
> Aug 4 17:46:23 voima freshclam[19355]: Wed Aug 4 17:46:23 2021 -> !Database update process failed: Test failed
> Aug 4 17:46:23 voima freshclam[19355]: Wed Aug 4 17:46:23 2021 -> !Update failed.
Did this resolve by itself? I just noticed that is quite old.
Sebastian
More information about the Pkg-clamav-devel
mailing list