Hi Elia,

I ran into this same problem and just deleted /var/lib/clamav/daily.c[lv]d and ran freshclam again.

Kind Regards,
Ray



On Wed, Jul 28, 2021 at 11:16 AM Asenova, Elia via clamav-users <clamav-users@lists.clamav.net> wrote:

Hello guys,

 

This is related to a freshclam update problem that I have. Basically when running freshclam I get the following errors:

ClamAV update process started at Wed Jul 28 14:30:20 2021

daily database available for update (local version: 26209, remote version: 26246)

Downloaded 22 patches for daily, which is fewer than the 37 expected patches.

We'll settle for this partial-update, at least for now.

ERROR: cdiff_apply: lseek(desc, -350, SEEK_END) failed

ERROR: downloadPatch: Can't apply patch

Testing database: '/var/lib/clamav/tmp.0c60a53c3f/clamav-c22814890a9b587d8060b5d43ce20d40.tmp-daily.cld' ...

[LibClamAV] **************************************************

[LibClamAV] ***  The virus database is older than 7 days!  ***

[LibClamAV] ***   Please update it as soon as possible.    ***

[LibClamAV] **************************************************

Database test passed.

daily.cld updated (version: 26231, sigs: 3996055, f-level: 63, builder: raynman)

main database available for update (local version: 59, remote version: 61)

ERROR: cdiff_apply: lseek(desc, -350, SEEK_END) failed

ERROR: downloadPatch: Can't apply patch

WARNING: Incremental update failed, trying to download main.cvd

Testing database: '/var/lib/clamav/tmp.0c60a53c3f/clamav-abc29e83f1558f3534bfbeb8d1a81899.tmp-main.cvd' ...

Database test passed.

main.cvd updated (version: 61, sigs: 6607162, f-level: 90, builder: sigmgr)

bytecode.cvd database is up-to-date (version: 333, sigs: 92, f-level: 63, builder: awillia2)

 

It seems like daily.cld cannot be updated to the latest version, so it does a partial update. I tried running freshclam several times but same thing happens over and over again. Clamav version is 0.103.3 and daily db version is 26231 (instead of 26246).

I saw an email on this topic in your mail archive (https://lists.clamav.net/pipermail/clamav-users/2021-July/011508.html), but I do not see any resolution of the problem. Could you give an update on what is going on and when is this problem going to be resolved? Thank you!

 

Best Regards,

Elia Asenova

 


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Notice: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy the message and attachments without retaining a copy.