Updating clamav in ubuntu


28-Feb-2017 12:01

In the process you might also learn how to install an application or two.

There is one thing to understand about updating Linux: Not every distribution handles this process in the same fashion.

So far, although labor intensive and taking longer to complete than would be ideal, this process has produced good results.

When Dapper, Feisty, and Gutsy were updated only two bugs were filed (both Dapper).

Major updates (eg 0.94.2 to 0.95) require a different process because they generally involve interface changes in libclamav and require multiple packages to be tested and updated together to maintain functionality. Clamav is the premier FOSS anti-virus scanning engine.

Upstream considers 0.8X to 0.90 a major update, 0.9X to 0.9Y a minor update, and 0.94. By its nature, the performance requirements for clamav evolve rapidly as new threats are discovered, so unlike normal packages, stabilizing the version and not changing it does not provide performance stability, it causes performance degradation.

The clamav package itself includes a test suite that is enabled by default and make check is integrated into debian/rules, so if the package builds, it has passed its test suite (Dapper is an exception to this as the version of check in Dapper is too old).

In fact, if you wanted to tackle either task you were bound for the command line.

We were able to quickly package python-pyclamd and provide a suitable alternative.