Upgrade clamav on servers running Debian sarge
As we all know: Debian is rather conservative in introducing new versions of software packages which is fine it guarantees a stable well tested set of applications which makes Debian a perfect linux server platform. But if you want to protect your files or network against viruses you need the latest antivirus engines. The following procedure describes how you can upgrade the clamav anti virus package to a new version without switching to testing or unstable.
1) Add the debian volatile distribution to /etc/apt/sources.list
Add a line to the sources.list file similar to the following line :
deb http://ftp2.de.debian.org/debian-volatile sarge/volatile main.
2) Run apt-get update
3) Upgrade ClamAV
bg[en]. apt-get—reinstall install clamav-daemon (this will upgrade clamav-daemon, clamav-base, clamav-freshclam and libclam1 to the latest version). When asked keep the old config files.
4) Check/set permissions/ownership of the logfiles probably located in /var/log and the pid file probably located in /var/run.
bg[en]. If you use clamav in combination with amavisd you probably need to set the ownership of the logfiles and pid file to amavis:amavis.
Posted by Administrator on Thursday, October 19, 2006

