Comment 2 for bug 2008463

Revision history for this message
Mitchell Dzurick (mitchdz) wrote (last edit ):

This failed because of the following line:

/var/lib/dpkg/info/clamav-daemon.postinst: 428: cannot create /var/lib/clamav/clamav.conf: Directory nonexistent

I guess /var/lib/clamav/ directory did not exist during install. I'm not sure how this case occurs. Was there anything interesting you did before the upgrade?

Perhaps we should update the maintainer script to do something such as "mkdir -p /var/lib/clamav/" before [0].

[0] - https://git.launchpad.net/ubuntu/+source/clamav/tree/debian/clamav-daemon.postinst.in?h=ubuntu/jammy-devel#n196