Ubuntu – How to upgrade ClamAV on Ubuntu Hardy Heron 8.04 LTS

aptitudeclamavUbuntuubuntu-8.04

I'm running a server on Ubuntu Hardy Heron 8.04 LTS, and when I installed ClamAV via aptitude, it installed version 0.94. That version has now been EOL'ed, but when I run "aptitude upgrade", it doesn't update ClamAV to the more recent version (0.96).

I then followed these instructions on Installing ClamAV from the PPA, but when I did that, I get a message saying "The following packages have been kept back: … clamav clamav-base clamav-daemon clamav-freshclam …"

Does anyone know how to get Ubuntu 8.04 to do this update via aptitude or apt-get (I'm hoping to avoid having to compile from source, etc.)?

Best Answer

Yeah, it messed up my server last night. I am running Debian Lenny though. I had to add debian-volatile repository to be able to upgrade to 0.95.3.

You need to add deb http://ppa.launchpad.net/ubuntu-clamav/ppa/ubuntu hardy main to your /etc/apt/sources.list and run apt-get update After that apt-get upgrade clamav

If apt-get upgrade does not work, do

apt-get install clamav clamav-base clamav-daemon clamav-freshclam