Article 6J7AM Linux Ubuntu Zorin 17 OS - Install ClamAV via APT on Ubuntu - Error Message

Linux Ubuntu Zorin 17 OS - Install ClamAV via APT on Ubuntu - Error Message

by
Hylton
from LinuxQuestions.org on (#6J7AM)
Trying to install ClamAV via APT on Ubuntu with:

sudo apt install clamav clamav-daemon

Receive the following Error Message:

[sudo] password for guy:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
clamav-daemon is already the newest version (0.103.11+dfsg-0ubuntu0.22.04.1).
clamav is already the newest version (1.2.1-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up clamav-daemon (0.103.11+dfsg-0ubuntu0.22.04.1) ...
touch: cannot touch '/var/log/clamav/clamav.log': No such file or directory
dpkg: error processing package clamav-daemon (--configure):
installed clamav-daemon package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
clamav-daemon
E: Sub-process /usr/bin/dpkg returned an error code (1)

Output below from the ClamAV command - clamconf -n

Version: 1.2.1
Optional features supported: MEMPOOL AUTOIT_EA06 BZIP2 LIBXML2 PCRE2 ICONV JSON RAR

Database information
Database directory: /usr/local/share/clamav
print_dbs: Can't open directory /usr/local/share/clamav

Platform information
uname: Linux 6.5.0-15-generic #15~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 12 18:54:30 UTC 2 x86_64
OS: Linux, ARCH: x86_64, CPU: x86_64
Full OS version: Zorin OS 17
zlib version: 1.3 (1.3), compile flags: a9
platform id: 0x0a21bfbf0800000000070500

Build information
GNU C: 7.5.0 (7.5.0)
sizeof(void*) = 8
Engine flevel: 191, dconf: 191
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments