I am getting the following error while trying to manually run
freshclam on Ubuntu 18.04, as super user (I already stopped the daemon as described in other questions).
# sudo freshclam Wed May 22 07:33:08 2019 -> ClamAV update process started at Wed May 22 07:33:08 2019 Wed May 22 07:33:08 2019 -> ^Your ClamAV installation is OUTDATED! Wed May 22 07:33:08 2019 -> ^Local version: 0.100.3 Recommended version: 0.101.2 Wed May 22 07:33:08 2019 -> DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav Wed May 22 07:33:32 2019 -> getfile: Can't write 8192 bytes to /var/lib/clamav/clamav-61ad7aac1e8b42b507986f04c334427d.tmp/clamav-cba52511a773dacb076f4e204c4b1a77.tmp Wed May 22 07:33:32 2019 -> ^Can't download main.cvd from db.local.clamav.net Wed May 22 07:33:33 2019 -> *Can't query main.0.93.0.0.6810DA54.ping.clamav.net
Manually creating the file works though, so I'm not sure this is a permission issue.
# mkdir /var/lib/clamav/clamav-63297260eb8cf259cb59552e4bddc3b3.tmp/ # dd if=/dev/urandom of=/var/lib/clamav/clamav-63297260eb8cf259cb59552e4bddc3b3.tmp/clamav-7802c73731c6f7f34959ac4d37b24f6e.tmp count=5840 5840+0 records in 5840+0 records out 2990080 bytes (3.0 MB, 2.9 MiB) copied, 0.0424701 s, 70.4 MB/s
I found the two sources below:
But what they were suggesting did not help either (I don't have quotas, and I tried stopping AppArmor, but still the same issue.)
Any other ideas, what I should check?