No Clamav update in Software package updates?

Webmin
Paul
2013-02-16
2013-05-21
  • Paul
    Paul
    2013-02-16

    In the past I used to be able to update my Clamav installation using Webmin.  For months now I have been getting messages in the system log that Clamav is out of date and needs to be updated but every time I go into Webmin's Software Package Update there is no new version of Clamav.  Now I am beginning to receive email messages of being unable to update files related to Clamav every few hours. (see below)
    Is there any reason that there are no updated Clamav packages despite the fact that my current installation apparently has been out of date for quite a while?
    Any help is appreciated.

    ERROR: cdiff_cmd_close: Can't apply XCHG at line 9 of daily.info
    ERROR: cdiff_apply: Can't execute command CLOSE
    ERROR: cdiff_apply: Error executing command at line 6
    ERROR: getpatch: Can't apply patch
    ERROR: getpatch: Can't download daily-16683.cdiff from database.clamav.net
    ERROR: Can't download daily.cvd from database.clamav.net

     
  • Paul
    Paul
    2013-03-11

    Does anybody actually monitor this board???

     
  • fade2gray
    fade2gray
    2013-03-21

    This may or may not be of help… https://www.virtualmin.com/node/19482

    Although the current version of ClamAV is 0.97.7, I can only get it to upgrade from 0.97.3 to 0.97.6, but still get the outdated engine and virus database warnings.

     
  • pplesman
    pplesman
    2013-03-21

    Thanks fade2grey. 
    Not sure why I was able to do it in the past through Webmin but not anymore.  The reason I use Webmin is because I am not much of a Linux expert and if Webmin can't update ClamAV then so be it, I will just let it ride and ignore the warnings. 
    It makes for a rather limited functionality package update process though.  Thanks again.

     
  • fade2gray
    fade2gray
    2013-03-21

    Actually, I just noticed that Webmin is now offering the package updates for ClamAv 0.97.7, but after applying them you still get the outdated engine and database warnings.

    To fix this you need to delete/rename/move the following files…

    /var/lib/clamav/bytecode.cld
    /var/lib/clamav/daily.cvd
    /var/lib/clamav/main.cvd

    then use the following command…

    $ sudo freshclam

    The 3 files you deleted will be re-downloaded and then your good to go.

     
  • pplesman
    pplesman
    2013-03-21

    I just checked and did not find any Clamav updates.  After updating Webmin to the latest version I checked and again, no Clamav updates.  Will keep checking I guess. Thanks.

     
  • fade2gray
    fade2gray
    2013-03-21

    Just wondering what version number you see when you issue the following command…

    $ dpkg -l \*clamav\*
    

    (that's a lower-case L)

     
  • pplesman
    pplesman
    2013-03-21

    Actually I get "command not found".  I am running CentOS release 5.5
    According to the information in the logwatch file that lists the error, I am running ClamAV version 0.97.3 with a recommended version of 0.97.7
    Perhaps you don't use CentOS?

     
  • fade2gray
    fade2gray
    2013-03-21

    Sorry, strictly Ubuntu this way.

    From the Webmin menu, go to System / Software Packages and enter clamav in the field under 'Installed Packages' and hit the 'Search for package' button.

     
  • fade2gray
    fade2gray
    2013-03-21

    My bad, didn't read your post thoroughly - I see you have 0.97.3 - the same as me when updating 69 packages yesterday. It wasn't until today that I noticed Webmin offering the other 7 clamav packages for 0.97.7. All I can suggest is to keep trying Webmin / System / Software Package Updates. :-/

     
  • pplesman
    pplesman
    2013-03-21

    It says "No packages available to be updated were found."
    Perhaps no further updates are available for CentOS 5.x (or 5.5).  Perhaps time to upgrade to CentOS 6.4
    Appreciate the help and suggestions though.

     
  • fade2gray
    fade2gray
    2013-03-21

    Only other thing is to try posting in https://www.virtualmin.com/forum/10

    It seems to be a little more 'pro-active' in there.

     
  • d elleray
    d elleray
    2013-03-21

    hi
    todays updates showing on 5.9 centos
    amavisd-new 2.6.6-3.el5.rf > 2.8.0-1.el5.rf Mail virus-scanner
    clamav 0.97.6-1.el5.rf > 0.97.7-1.el5.rf Anti-virus software
    clamav-db 0.97.6-1.el5.rf > 0.97.7-1.el5.rf Virus database for clamav
    clamd 0.97.6-1.el5.rf 0.97.7-1.el5.rf > The Clam AntiVirus Daemon

    btw there is a clamav webmin module which updates the db normally daily.
    d.

     
  • d elleray
    d elleray
    2013-03-21

    you can always use the commnad line prompt in webmin to issue comamnd
    yum install clamav-db
    rto see what would be updated…
    and when you're happy issue
    yum -y install clamav-db
    to force the install (which will detect an upgrade if necessary)
    d

     
  • Paul
    Paul
    2013-03-21

    Thanks dellaray,
    that would indicate that I would have to upgrade to 5.9 to get the new ClamAV.
    There is a listed update for CentOS that says "New version 5-9.el5.centos.1"  (I am running 5.5)
    However, as you may have read I am not well versed in Linux systems and am extremely leery to update anything important, like CentOS itself and mySQL, only to wind up screwing up the whole system in the process.
    Think I will just have to let ClamAV ride unless/until it shows up in the list.
    Thanks for the suggestions.

     
  • d elleray
    d elleray
    2013-03-22

    actually the upgrade from one dot release to another is simple, just let webmin run the update.
    providing you use rpm packages they will sort out what they need.

    actually clamav os dot release independent so why not try the command line …

    yum install clamav-db clamav clamd

    without the -y nothing happens but you will see what other packages are needed; you should find that no kernel packages are required and probably no other packages either.

    if you're happy then add the -y

    d

     
  • Paul
    Paul
    2013-03-23

    Dellaray, the plot thickens.  Here is what I get when I use these command lines

    yum install clamav

    Loading mirror speeds from cached hostfile
    * addons: centos.mirror.netelligent.ca
    * base: less.cogeco.net
    * extras: centos.mirror.rafal.ca
    * updates: centos.mirror.rafal.ca
    Setting up Install Process
    Package clamav-0.97.3-1.vm.el5.centos.i386 already installed and latest version
    Nothing to do

    yum install clamav-db

    Setting up Install Process
    No package clamav-db available.
    Nothing to do

    yum install clamd

    Setting up Install Process
    No package clamd available.
    Nothing to do

    No idea why it is telling me that 0.97.3 is the latest version if it isn't.

     
  • Paul
    Paul
    2013-03-23

    Just took the jump and updated CentOS to version 5.9
    Unfortunately still no new clamav updates showing up.  Why they would show up on our list is a mystery.