ClamAV / Freshclam Installation Outdated Problem

spinnenkop

Member
Mar 13, 2004
14
0
151
Hi,
About two days ago I got a message in my log
saying that ClamAV was outdated.
So I upgraded to the latest version.
I ran freshclam several times from the command line
to check if everything works.
And it does, on errors!
But... Every morning my cron.daily report still says
my ClamAV installation is outdated.
Can somebody please help me with this!

Thanks,
Spinnenkop
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
You've probably got it installed in two locations, i.e. under /usr and /usr/local

What application are you using ClamAV for? Which one will suggest which distribution you should be using. If you install ClamAV from tarball, it defaults to /usr/local.
 

spinnenkop

Member
Mar 13, 2004
14
0
151
That's right
I have a freshclam.conf ins /usr/local/etc
and one in /etc
What do you suggest I should do?
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Then you'll need to get rid of the one in /usr/local. This should do it, though it's quite brutal:
Code:
/bin/rm -Rfv /usr/local/bin/clam*
/bin/rm -Rfv /usr/local/sbin/clam*
/bin/rm -Rfv /usr/local/lib/libclam*
/bin/rm -Rfv /usr/local/share/clam*
/bin/rm -Rfv /usr/local/include/clam*
/bin/rm -Rfv /usr/local/bin/freshclam*
/bin/rm -Rfv /usr/local/etc/clamav*
You should then upgrade ClamAV again, but make sure that when you run configure that you use the correct prefix using:

./configure --prefix=/usr