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 ** Changed in: clamav (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2008463 Title: package clamav-daemon 0.103.6+dfsg-0ubuntu0.22.04.1 failed to install/upgrade: installed clamav-daemon package post-installation script subprocess returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/2008463/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs