我使用apt在官方软件库Debian Wheezy上安装了ClamAV。 系统是最新的,我没有得到任何通过apt-get upgrade更新,但我仍然在日志中得到这条消息:
Your ClamAV installation is OUTDATED!
我的版本是:
$ clamscan -V ClamAV 0.98.1/19186/Sun Jul 13 00:34:56 2014
在官方网页上:
最新的ClamAV®稳定版本是:0.98.4
看起来Wheezy的官方稳定回购并不是最新的。 我发现的唯一信息是关于Debian Volatile项目的 官方信息 ,这个项目从Squeeze开始就已经closures了。
有没有其他的替代版本?
我如何保持ClamAV始终保持最新状态,并确保系统稳定?
编辑:
我的/etc/apt/sources.list :
deb http://ftp.ru.debian.org/debian/ wheezy main non-free contrib deb http://security.debian.org/ wheezy/updates main contrib non-free deb http://ftp.ru.debian.org/debian/ wheezy-updates main contrib non-free $ dpkg -l 'clamav*' ||/ Name Version Architecture Description +++-========================================-=========================-=========================-====================================================================================== ii clamav 0.98.4+dfsg-0+deb7u2 amd64 anti-virus utility for Unix - command-line interface ii clamav-base 0.98.4+dfsg-0+deb7u2 all anti-virus utility for Unix - base package ii clamav-daemon 0.98.4+dfsg-0+deb7u2 amd64 anti-virus utility for Unix - scanner daemon un clamav-data <none> (no description available) ii clamav-docs 0.98.4+dfsg-0+deb7u2 all anti-virus utility for Unix - documentation ii clamav-freshclam 0.98.4+dfsg-0+deb7u2 amd64 anti-virus utility for Unix - virus database update utility
我有同样的问题。 我倒了一些挖掘阅读完美服务器 – Debian Wheezy(Apache2,BIND,Dovecot,ISPConfig 3) – 第3页这sorting我的“你的ClamAV安装已经过时了!
首先确保你的/etc/apt/sources.list包含wheezy-updates存储库(这确保你总能得到ClamAV病毒扫描程序的最新更新 – 这个项目经常发布版本,有时老版本停止工作),并且启用了contrib和non-free版本库( libapache2-mod-fastcgi等一些软件包不在主版本库中)。
将这些行添加到你的/etc/apt/sources.list
# wheezy-updates, previously known as 'volatile' deb http://ftp.de.debian.org/debian/ wheezy-updates main contrib non-free deb-src http://ftp.de.debian.org/debian/ wheezy-updates main contrib non-free
然后运行命令apt-get update然后apt-get dist-upgrade为我工作。
确保在/etc/apt/sources.list启用了基本的wheezy存储库。
这有点奇怪, Wheezy上最新的clamav不是在wheezy-updates存储库上,而是在wheezy repository中:
wheezy-update: 0.98.1+dfsg-1+deb7u4 wheezy : 0.98.4+dfsg-0+deb7u2
如果你还没有启用apt-get pinning(如果你不知道这些设置,不用担心,否则pinning必须撤消), apt-get upgrade或apt-get dist-upgrade应该在apt-get update之后获取最新版本apt-get update 。