[clamav-users] Can't install clamav correctly

Micah Snyder (micasnyd) micasnyd at cisco.com
Tue Mar 16 18:15:42 UTC 2021


Andrea,

The errors you're observing look to me like you have two versions of clamav installed.  It looks like clamscan and freshclam are newer but are loading an older version of libclamav.

I would recommend attempting to locate and delete all versions of clamav, then reinstall just one version.  As Matus suggested, the easiest option is to use:  apt-get install clamav clamav-daemon
Regards,
Micah

From: clamav-users <clamav-users-bounces at lists.clamav.net> On Behalf Of a.maccanti at kayser.it
Sent: Tuesday, March 16, 2021 7:39 AM
To: clamav-users at lists.clamav.net
Subject: [clamav-users] Can't install clamav correctly

Hi all,
I have a Variscite imx8mq board with Debian 10 OS (kernel v 4.19.35-gd472046-dirty), I tried to install ClamAV following the guide at https://www.clamav.net/documents/installation-on-debian-and-ubuntu-linux-distributions but I couldn't install the check-devel package (because it doesn't exist anymore according to the Debian packages page) and the valgrind package because it depends on the libc6-dbg package that I can't install because it depends on the libc6 version 2.28-10, I already have the version 2.31-4 but I can't downgrade it (see log attached).
So I decided to continue the procedure anyway and I was able to end it but I can't actually do anything because I use the command freshclam I get the following error:
root at imx8mq-var-dart:~/clamav-0.103.1#<mailto:root at imx8mq-var-dart:~/clamav-0.103.1#> freshclam
freshclam: symbol lookup error: freshclam: undefined symbol: check_flevel, version FRESHCLAM_PRIVATE
root at imx8mq-var-dart:~/clamav-0.103.1#<mailto:root at imx8mq-var-dart:~/clamav-0.103.1#>

If I use the command clamscan I get the following error:
root at imx8mq-var-dart:~/clamav-0.103.1#<mailto:root at imx8mq-var-dart:~/clamav-0.103.1#> clamscan -r --remove /media/USB1
ERROR: This tool requires libclamav with functionality level 122 or higher (current f-level: 115)
root at imx8mq-var-dart:~/clamav-0.103.1#<mailto:root at imx8mq-var-dart:~/clamav-0.103.1#>

The clamav-freshclam service seems to be active, I will attach the freshclam and clamd conf files and the configuration logs.
How can I solve this issue?

Thanks in advance
Best Regards
Andrea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20210316/6c4de60e/attachment.htm>


More information about the clamav-users mailing list