FAQ – Upgrade

Official FAQ

This is the official FAQ. For additional FAQs please visit our Wiki . You are encouraged to contribute to them. The ClamAV team continuosly monitor that page and will add the best ones below.

Upgrading ClamAV

  • How do I upgrade ClamAV?
  • Visit our Wiki . The page can be edited by anyone. If you are a skilled sysadmin please contribute to it.
  • What does WARNING: Current functionality level = 1, required = 2 mean?
  • The functionality level of the database determines which scanner engine version is required to use all of its signatures. If you don’t upgrade immediately you will be missing the latest viruses.
  • What does Your ClamAV installation is OUTDATED mean?
  • You’ll get this message whenever a new version of ClamAV is released. In order to detect all the latest viruses, it’s not enough to keep your database up to date. You also need to run the latest version of the scanner. You can download the sources of the latest release from our website. Upgrade instructions are on the Wiki. If you are afraid to break something while upgrading, use the precompiled packages for your operating system/distribution. Remember: running the latest stable release also improves stability.
  • I upgraded to the latest stable version but I still get the message Your ClamAV installation is OUTDATED, why?
    • Make sure there is really only one version of ClamAV installed on your system:
         $ whereis freshclam 
         $ whereis clamscan
    • Also make sure that you haven’t got old libraries (libclamav.so*) lying around your filesystem. You can verify it using: $ ldd `which freshclam`
  • What does Malformed hexstring: This ClamAV version has reached End of Life mean?
  • How do I verify the integrity of ClamAV sources?
    • Using GnuPG you can easily verify the authenticity of your stable release downloads by using the following method: Download Tomasz Kojm’s key from the clamav.net site. Import the key into your local public keyring: $ gpg --import tkojm.gpg. Download the stable release AND the corresponding .sig file to the same directory. Verify that the stable release download is signed with Tomasz Kojm’s key:
      $ gpg --verify clamav-X.XX.tar.gz.sig
      Please note that the resulting output should look like the following:
       
      gpg: Signature made <some date> using DSA key ID 985A444B
       gpg: Good signature from Tomasz Kojm <email address>
       gpg:                 aka "Tomasz Kojm <email address>"
       gpg:                 aka "Tomasz Kojm <email address>"
      
    • For other PGP implementation, please refer to their manual.
  • Where can I get the latest SVN snapshot of ClamAV?
  • Is my compiler/hardware/operating system supported by ClamAV?
  • ClamAV supports a wide variety of compilers, hardware and operating systems. Our core compiler is gcc with Linux on 32 and 64 bit Intel platforms, though we also test using other compilers, including Sun’s C compiler, Microsoft’s Visual Studio, Intel’s C compiler, LLVM-GCC, and others. To date we have only found one compiler that we do not support, GCC version 4.0.0 to 4.0.1 inclusive. We have found that version of the compiler produces incorrect code on all of the platforms and operating systems on which we have tested it. ClamAV will not work using that compiler and you MUST switch to an alternative, such as GCC3.4 or GCC4.1. Please contact your vendor for further information. Please refer to gcc’s bugzilla for further information. If you want to see a proof of why gcc 4.0.1 generates wrong code for the kernel read the relevant article on kerneltrap. More information about this bug is also available in our bugzilla . Our configure scripts will detect if your compiler is affected by this bug and refuse to generate a non working binary with the following error message: your compiler has gcc PR26763-2 bug, use a different compiler . If you are on MacOS X, you can try an alternative compiler, LLVM-GCC4.2-2.2, which has official binaries available

    Last update: Apr 15, 2010