{"id":200,"date":"2010-05-04T11:05:52","date_gmt":"2010-05-04T03:05:52","guid":{"rendered":"http:\/\/play.datalude.com\/blog\/?p=200"},"modified":"2010-05-04T11:05:52","modified_gmt":"2010-05-04T03:05:52","slug":"clamav-reporting-outdated-version","status":"publish","type":"post","link":"https:\/\/play.datalude.com\/blog\/2010\/05\/clamav-reporting-outdated-version\/","title":{"rendered":"ClamAV reporting Outdated version"},"content":{"rendered":"<p>Just to remind myself as much as anything, as I've been through this a few times. ClamAV was complaining loudly in the logfiles about not having the most up to date ClamAV. I searched around and was pointed to the Debian Unstable repository to \/etc\/apt\/sources.list (Read the whole article before you add this one &#8230;there is a better one)<\/p>\n<p>After that, on running<strong> apt-get update<\/strong>, you get a message like this:<\/p>\n<p>W: GPG error: http:\/\/volatile.debian.org etch\/volatile Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DFD993306D849617<\/p>\n<p>So, take the pubkey number off the end and do this with it.<\/p>\n<pre>sudo gpg --keyserver subkeys.pgp.net --recv-keys DFD993306D849617<\/pre>\n<pre>sudo gpg --armor --export DFD993306D849617 &gt; new.key<\/pre>\n<pre>sudo apt-key add new.key<\/pre>\n<p>I then got a message saying \"The following packages have been kept back: clamav clamav-daemon clamav-freshclam\"<\/p>\n<p>By using<\/p>\n<pre> sudo <strong>aptitude<\/strong> dist-upgrade<\/pre>\n<p>(NB aptitude rather than apt-get) the new packages are downloaded. However they're still not up to the level that ClamAV is telling me to upgrade to.<\/p>\n<p>So, more searching. It turns out the most up to date Ubuntu Repositories are from this page &#8230; <a href=\"https:\/\/launchpad.net\/~ubuntu-clamav\/+archive\/ppa\">https:\/\/launchpad.net\/~ubuntu-clamav\/+archive\/ppa<\/a>. In my case the solution was to add these lines to my \/etc\/apt\/sources.list<\/p>\n<pre>deb http:\/\/ppa.launchpad.net\/ubuntu-clamav\/ppa\/ubuntu hardy main<\/pre>\n<pre>deb-src http:\/\/ppa.launchpad.net\/ubuntu-clamav\/ppa\/ubuntu hardy main<\/pre>\n<p>And then run through the pubkey process above, with the different pubkey id number. Later distros might get away with the add-apt-key command, but I was running hardy (8.04) on this particular server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just to remind myself as much as anything, as I've been through this a few times. ClamAV was complaining loudly in the logfiles about not having the most up to date ClamAV. I searched around and was pointed to the Debian Unstable repository to \/etc\/apt\/sources.list (Read the whole article before you add this one &#8230;there &#8230; <a title=\"ClamAV reporting Outdated version\" class=\"read-more\" href=\"https:\/\/play.datalude.com\/blog\/2010\/05\/clamav-reporting-outdated-version\/\" aria-label=\"Read more about ClamAV reporting Outdated version\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[1,4,5],"tags":[128,132,129,130,8,131],"class_list":["post-200","post","type-post","status-publish","format-standard","hentry","category-it","category-linux","category-security","tag-clamav","tag-latest-version","tag-repositories","tag-server","tag-ubuntu","tag-update"],"_links":{"self":[{"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/posts\/200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/comments?post=200"}],"version-history":[{"count":0,"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/posts\/200\/revisions"}],"wp:attachment":[{"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/media?parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/categories?post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/play.datalude.com\/blog\/wp-json\/wp\/v2\/tags?post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}