[Pkg-clamav-devel] Bug#1033279: the clamav-freshclam package fails to upgrade on Debian 11

Giancarlo Giesa giancarlogiesa at gmail.com
Tue Mar 21 07:42:00 GMT 2023


package: clamav-freshclam
version: 0.103.8+dfsg-0+deb11u1

description: the clamav upgrade via apt-get failed
the reason seems to be that the file /var/log/clamav/freshclam.log is 
not detected but instead this exists

proceeding with the command dpkg --configure -a does not solve the problem.

some output:

root at nas:~# dpkg --configure -a
Setting up clamav-freshclam (0.103.8+dfsg-0+deb11u1) ...
touch: cannot touch '"/var/log/clamav/freshclam.log"': No such file or 
directory
dpkg: error processing package clamav-freshclam (--configure):
  installed clamav-freshclam package post-installation script subprocess 
returned error exit status 1
dpkg: dependency problems prevent configuration of clamav-daemon:
  clamav-daemon depends on clamav-freshclam (>= 0.103.8+dfsg) | 
clamav-data; however:
   Package clamav-freshclam is not configured yet.
   Package clamav-data is not installed.
   Package clamav-freshclam which provides clamav-data is not configured 
yet.

dpkg: error processing package clamav-daemon (--configure):
  dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of areos-debian-11:
  areos-debian-11 depends on clamav-daemon; however:
   Package clamav-daemon is not configured yet.

dpkg: error processing package areos-debian-11 (--configure):
  dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of clamav:
  clamav depends on clamav-freshclam (>= 0.103.8+dfsg) | clamav-data; 
however:
   Package clamav-freshclam is not configured yet.
   Package clamav-data is not installed.
   Package clamav-freshclam which provides clamav-data is not configured 
yet.

dpkg: error processing package clamav (--configure):
  dependency problems - leaving unconfigured
Errors were encountered while processing:
  clamav-freshclam
  clamav-daemon
  areos-debian-11
  clamav




but the file "/var/log/clamav/freshclam.log" is readable:
root at nas:~# cat /var/log/clamav/freshclam.log
ClamAV update process started at Sun Mar 19 00:00:00 2023
Current working dir is /var/lib/clamav/
Querying current.cvd.clamav.net
TTL: 1797
fc_dns_query_update_info: Software version from DNS: 0.103.8
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.103.7 Recommended version: 0.103.8
DON'T PANIC! Read https://docs.clamav.net/manual/Installing.html
[.........]



More information about the Pkg-clamav-devel mailing list