Mailing List Archive

[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-dis
tributions 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@imx8mq-var-dart:~/clamav-0.103.1# freshclam

freshclam: symbol lookup error: freshclam: undefined symbol: check_flevel,
version FRESHCLAM_PRIVATE

root@imx8mq-var-dart:~/clamav-0.103.1#



If I use the command clamscan I get the following error:

root@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@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
Re: [clamav-users] Can't install clamav correctly [ In reply to ]
Hi there,

On Tue, 16 Mar 2021, a.maccanti@kayser.it wrote:

> I have a Variscite imx8mq board

How much RAM does it have?

> with Debian 10 OS (kernel v4.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

To build ClamAV from source and install it needs some skills which it
seems you don't have. Instead, I recommend installing from a package,
using the instructions at

https://www.clamav.net/documents/installing-clamav#Debian

Is there any reason that you did not first try to do that?

> So I decided to continue the procedure anyway ...

Bad idea.

> If I use the command clamscan I get the following error:
>
> root@imx8mq-var-dart:~/clamav-0.103.1# clamscan -r --remove /media/USB1

VERY bad idea. It warns you in the manual pages (in the 'man' pages,
for example, after installing ClamAV type

man clamscan

in a terminal) that this is dangerous. There are other dangerous
things that you can do with ClamAV. Please read the documentation.

NEVER use --remove unless you REALLY know what you're doing.

What do you hope to get from ClamAV?

--

73,
Ged.

_______________________________________________

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
Re: [clamav-users] Can't install clamav correctly [ In reply to ]
On 16.03.21 15:39, a.maccanti@kayser.it wrote:
>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-dis
>tributions

why? Debian comes with clamav, you don't need to compile it yourself.
it's much easier to do:

apt-get install clamav clamav-daemon

--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Fucking windows! Bring Bill Gates! (Southpark the movie)

_______________________________________________

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
Re: [clamav-users] Can't install clamav correctly [ In reply to ]
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@lists.clamav.net> On Behalf Of a.maccanti@kayser.it
Sent: Tuesday, March 16, 2021 7:39 AM
To: clamav-users@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@imx8mq-var-dart:~/clamav-0.103.1#<mailto:root@imx8mq-var-dart:~/clamav-0.103.1#> freshclam
freshclam: symbol lookup error: freshclam: undefined symbol: check_flevel, version FRESHCLAM_PRIVATE
root@imx8mq-var-dart:~/clamav-0.103.1#<mailto:root@imx8mq-var-dart:~/clamav-0.103.1#>

If I use the command clamscan I get the following error:
root@imx8mq-var-dart:~/clamav-0.103.1#<mailto:root@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@imx8mq-var-dart:~/clamav-0.103.1#<mailto:root@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