Re: [clamav-users] Can't install clamav correctly

2021-03-16 Thread Micah Snyder (micasnyd) via clamav-users
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  On Behalf Of 
a.macca...@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#
 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

___

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

2021-03-16 Thread Matus UHLAR - fantomas

On 16.03.21 15:39, a.macca...@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, uh...@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

2021-03-16 Thread G.W. Haywood via clamav-users

Hi there,

On Tue, 16 Mar 2021, a.macca...@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

2018-02-02 Thread Reindl Harald



Am 03.02.2018 um 05:29 schrieb Paul B.:

(Sorry to keep breaking threading. I'm on digest here, and I know of
no way to Reply directly to a post.)


Keep in mind that Debian itself cherry-picked the relevant fixes
into a patch update to 0.99.2.  If you are on Debian stable or a
direct derivative of stable, and have at least 0.99.2+dfsg-6+deb9u1,
then you have all the security fixes included in 0.99.3.



Scott K


Ok, cool. In any case, no version was going to install on the old OS.
I'm now up in the new install, and one of the first things I did was
install Clam, and it was successful


your decision but i would have asked on a distribution forum to get the 
root cause fixed


after 15 years Fedora everywhere with more than 600 dist-upgrades you 
can imagine the row number of dependecy problems but to re-install a 
system? never ever and when .deb can get a state where you need this 
because fix some isue with the package database takes more than 5 
minutes switch to something serious - but i doubt that is the case


on rpm systems:
rpm -qa | grep clamav
rpm -e --nodpes clampackage1 clampackage2
dnf install clam.
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/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

2018-02-02 Thread Scott Kitterman


On February 3, 2018 3:09:29 AM UTC, Al Varnell  wrote:
>On Fri, Feb 02, 2018 at 06:06 PM, Paul B. wrote:
>>> You can't mix distro packages and builds from upstream source
>>> on the same system.  If you're going to switch from one to the
>>> other, you have to uninstall.
>> 
>>> Scott K
>> 
>> That's initially what I did. I was going to avoid 99.3 because of
>some
>> problems reported here, so I went with 99.2 in the repo. It failed.
>So
>> something was wrong with the system before anything was done. Others
>> have tried to install 99.2 for my benefit and it went fine. So their
>> advice is to reinstall the OS, which I'm going to do.
>> 
>> Paul
>
>
>There may be some confusion on your part with regard to 99.3. There
>were two beta releases of 0.99.3 which have been discussed here over
>several months, but have now been withdrawn in order to release a
>different 0.99.3 which is almost only a security release with a couple
>of minor bug fixes. AFAIK, there have been no major issues with that
>release beyond installation problems such as you are having. 
>
>I suspect the right answer in your case is to pressure the OS
>distributor to quickly integrate the current 0.99.3 release into
>something you can install ASAP, before those now public vulnerabilities
>can be exploited.

Keep in mind that Debian itself cherry-picked the relevant fixes into a patch 
update to 0.99.2.  If you are on Debian stable or a direct derivative of 
stable, and have at least 0.99.2+dfsg-6+deb9u1, then you have all the security 
fixes included in 0.99.3.

Scott K
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/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

2018-02-02 Thread Al Varnell
On Fri, Feb 02, 2018 at 06:06 PM, Paul B. wrote:
>> You can't mix distro packages and builds from upstream source
>> on the same system.  If you're going to switch from one to the
>> other, you have to uninstall.
> 
>> Scott K
> 
> That's initially what I did. I was going to avoid 99.3 because of some
> problems reported here, so I went with 99.2 in the repo. It failed. So
> something was wrong with the system before anything was done. Others
> have tried to install 99.2 for my benefit and it went fine. So their
> advice is to reinstall the OS, which I'm going to do.
> 
> Paul


There may be some confusion on your part with regard to 99.3. There were two 
beta releases of 0.99.3 which have been discussed here over several months, but 
have now been withdrawn in order to release a different 0.99.3 which is almost 
only a security release with a couple of minor bug fixes. AFAIK, there have 
been no major issues with that release beyond installation problems such as you 
are having. 

I suspect the right answer in your case is to pressure the OS distributor to 
quickly integrate the current 0.99.3 release into something you can install 
ASAP, before those now public vulnerabilities can be exploited.

-Al-
-- 
Al Varnell
Mountain View, CA




___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/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

2018-02-02 Thread Reindl Harald



Am 02.02.2018 um 22:14 schrieb Paul B.:

Ok, thanks. I did the Synaptic uninstall, and it did break the manual
install. I've asked over at MX Linux and will see if they have any
insight
WTF - and *that* is the reason that you either use packages or handbuilt 
stuff and even if you build from sources you should lern how to wrap it 
in packages


how do you imagine the package management to know anything about "the 
manual install" - it's a database which keeps track about installed 
files, folders and permissions and if you collide with manual stuff and 
package files you are asking for troubles from the very begin


to say it clear:

when ever you decide to switch from packages to self compiled or in the 
other direction you have first to cleanup and remove any existing fragment


and that's why when you have problems with distribution packages the 
upstream mailing list and manual magngle around instead consult your 
distribution channels is wrong

___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/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

2018-02-02 Thread Scott Kitterman


On February 2, 2018 9:14:04 PM UTC, "Paul B."  wrote:
>> Synaptic should be able to show you enough information to track down
>the
>> missing dependencies, or allow you to uninstall them.  Note that this
>> may break your installed-from-source working ClamAV, depending on
>where
>> it was installed.
>
>> Something is wrong with the recordkeeping in the package system.
>
>> You should probably take this up with a list for your specific Debian
>> derivative, or possibly ask on the main Debian users list.  This is
>just
>> a problem that happens to be triggering on the ClamAV packages, not a
>> ClamAV problem.
>
>> -kgd
>
>Ok, thanks. I did the Synaptic uninstall, and it did break the manual
>install. I've asked over at MX Linux and will see if they have any
>insight.

You can't mix distro packages and builds from upstream source on the same 
system.  If you're going to switch from one to the other, you have to uninstall.

Scott K
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/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

2018-02-02 Thread Kris Deugau

Paul B. wrote:

Ok, I got the same errors from Synaptics upon trying to install a
completely unrelated program:

E: clamav-base: subprocess installed post-installation script returned
error exit status 1
E: clamav-freshclam: dependency problems - leaving unconfigured
E: clamav: dependency problems - leaving unconfigured
E: clamtk: dependency problems - leaving unconfigured


You have these packages partially installed, and likely won't be able to 
install or upgrade any others until their status is cleaned up.


Synaptic should be able to show you enough information to track down the 
missing dependencies, or allow you to uninstall them.  Note that this 
may break your installed-from-source working ClamAV, depending on where 
it was installed.



Upon rebooting, I tried to reinstall ClamAv, freshclam, clambase, and
clamtk through Synaptics:

Attempt to reinstall freshclam, clambase, and clamtk:

E: Internal Error, No file name for clamav-base:amd64
E: Internal Error, No file name for clamav-freshclam:amd64
E: Internal Error, No file name for clamav:amd64


Something is wrong with the recordkeeping in the package system.

You should probably take this up with a list for your specific Debian 
derivative, or possibly ask on the main Debian users list.  This is just 
a problem that happens to be triggering on the ClamAV packages, not a 
ClamAV problem.


-kgd
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/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

2018-02-02 Thread Vijayakumar U
Try the below steps and let me know how it goes.

wget http://database.clamav.net/main.cvd
sudo cp main.cvd /var/lib/clamav
wget http://database.clamav.net/daily.cvd
sudo cp daily.cvd /var/lib/clamav

restart the freshclam
restart the clamd




On 2 February 2018 at 17:39, Reindl Harald  wrote:

>
>
> Am 02.02.2018 um 12:27 schrieb Paul B.:
>
>> Hi guys,
>>
>> I  had ClamAV up and running fine, but there was a problem and I had
>> to restore the system from an earlier image. Everything is running
>> fine, but now I can't install ClamAV.
>>
>> The system is MX Linux 17 (Debian 9.3) x64. I tried installing from
>> the MX repo, which has CAV 99.2, and got the following error:
>>
>> E: clamav-base: subprocess installed post-installation script returned
>> error exit status 1
>> E: clamav-freshclam: dependency problems - leaving unconfigured
>> E: clamav: dependency problems - leaving unconfigured
>> E: clamtk: dependency problems - leaving unconfigured
>>
>
> ask your distribution or use one with no broken repos
>
> So I then tried to install 99.3 from the download. /configure went
>> fine, but 'make' and 'make install' returned errors. I posted the
>> error file at https://drive.google.com/open?
>> id=1OEoMxiqiYzGZxHwKpbIMiq0TL-w7EB0C
>>
>> Consequently when I tried a scan:
>>
>> $ clamscan
>> LibClamAV Error: cli_loaddbdir(): No supported database files found in
>> /var/lib/clamav
>> ERROR: Can't open file or directory
>>
>> If anyone can advise how to get this working again it would be much
>> appreciated
>>
>
> how about freshclam and create /var/lib/clamav
> /var/lib/clamav contains the signatures
>
> ___
> clamav-users mailing list
> clamav-users@lists.clamav.net
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>



-- 
Cheers,
Vijay.
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/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

2018-02-02 Thread Reindl Harald



Am 02.02.2018 um 12:27 schrieb Paul B.:

Hi guys,

I  had ClamAV up and running fine, but there was a problem and I had
to restore the system from an earlier image. Everything is running
fine, but now I can't install ClamAV.

The system is MX Linux 17 (Debian 9.3) x64. I tried installing from
the MX repo, which has CAV 99.2, and got the following error:

E: clamav-base: subprocess installed post-installation script returned
error exit status 1
E: clamav-freshclam: dependency problems - leaving unconfigured
E: clamav: dependency problems - leaving unconfigured
E: clamtk: dependency problems - leaving unconfigured


ask your distribution or use one with no broken repos


So I then tried to install 99.3 from the download. /configure went
fine, but 'make' and 'make install' returned errors. I posted the
error file at https://drive.google.com/open?id=1OEoMxiqiYzGZxHwKpbIMiq0TL-w7EB0C

Consequently when I tried a scan:

$ clamscan
LibClamAV Error: cli_loaddbdir(): No supported database files found in
/var/lib/clamav
ERROR: Can't open file or directory

If anyone can advise how to get this working again it would be much appreciated


how about freshclam and create /var/lib/clamav
/var/lib/clamav contains the signatures
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


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

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