Attached patch might fix this, tested in Oneiric and it works (after manually removing freshclam.pid from /var/run/clamav).
** Patch added: "clamav-base.postrm.diff" https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/829945/+attachment/2294000/+files/clamav-base.postrm.diff ** Summary changed: - purging all clamav packages doesn't remove /var/run/clamav/* + purging all clamav packages doesn't remove /var/run/clamav directory -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/829945 Title: purging all clamav packages doesn't remove /var/run/clamav directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/829945/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs