Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Upgrading clamav to latest version

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Robert_S
Posts: 13
Joined: 2015-07-11 06:36

Upgrading clamav to latest version

#1 Post by Robert_S »

I suspect that this has already been covered, but I can't find a solution
I keep getting these messages in my syslog:
May 27 05:08:47 debian freshclam[450]: WARNING: Local version: 0.99.4 Recommended version: 0.100.0
May 27 05:08:47 debian freshclam[450]: DON'T PANIC! Read http://www.clamav.net/documents/upgrading-clamav
I see that the latest version is listed in http://ftp.au.debian.org/debian/pool/main/c/clamav/ as clamav-daemon_0.100.0+dfsg-0+deb8u1_i386.deb etc, but I don't seem to be able to install this version using apt-get. Using the updates repository hasn't helped.
Can anybody help?

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1389
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 66 times

Re: Upgrading clamav to latest version

#2 Post by None1975 »

Hello. What Debian version are you using?
I see that the latest version as clamav-daemon_0.100.0+dfsg-0+deb8u1_i386.deb
This version is in Buster which is being tested at this time.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Upgrading clamav to latest version

#3 Post by Wheelerof4te »

clamav should stay fairly current through point-release upgrades and stable-updates repo. Notice that I've said "fairly". But before that, you should give more info about your system version.

Robert_S
Posts: 13
Joined: 2015-07-11 06:36

Re: Upgrading clamav to latest version

#4 Post by Robert_S »

Apologies for lack of info - my installation is pretty much unadulterated Stretch. I'm using it for a small office and don't want any instability/glitches. The notice about clamav being out of date has been coming up for the last few months.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Upgrading clamav to latest version

#5 Post by bw123 »

...
don't want any instability/glitches. The notice about clamav being out of date has been coming up for the last few months.
It's apparently a problem that has been coming up for a lot of years, not months. Debian stable doesn't get new versions often, and if it does they usually come through backports. The security fixes are imported from the new version, but the version number stays the same to prevent instability/glitches.

You don't want to beta test virus software, or run it on stable without it being tested do you?
resigned by AI ChatGPT

Robert_S
Posts: 13
Joined: 2015-07-11 06:36

Re: Upgrading clamav to latest version

#6 Post by Robert_S »

I can install the latest clamav by adding

Code: Select all

deb http://ftp.debian.org/debian testing main contrib non-free
to my /etc/apt/sources.list and

Code: Select all

Package: clamav, clamav-base, clamav-freshclam, clamav-milter, clamav-daemon
Pin: release a=testing
Pin-Priority: 750

Package: *
Pin: release a=stable
Pin-Priority: 900
to my /etc/apt/preferences, and installing clamav using
# apt-get install clamav -s -t testing
to install clamav

Is this likely to wreck my system in the future? - I note that there are a few other new packages that get installed eg.
The following NEW packages will be installed:
clamav clamav-base clamav-freshclam libclamav7 libjson-c3 libpcre2-8-0 libtfm1

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Upgrading clamav to latest version

#7 Post by stevepusser »

That 8u1 in the version indicates that it's a Jessie package...I wonder if it's in something special like jessie-proposed-updates.

Anyway, that indicates that it should be simple to backport to Stretch, and that's always safer than adding an upstream repository.
MX Linux packager and developer

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Upgrading clamav to latest version

#8 Post by sunrat »

Robert_S wrote:Is this likely to wreck my system in the future? - I note that there are a few other new packages that get installed eg.
The following NEW packages will be installed:
clamav clamav-base clamav-freshclam libclamav7 libjson-c3 libpcre2-8-0 libtfm1
Likely? Hard to say. Possible? Definitely yes. Imagine from your example that another application wants to use libjson-c3 but needs the Stretch version. Broken!
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply