Working on some of the recent changes I know that a freshly installed clamav 
does not start the daemon right away. It can't since freshclam hasn't provided 
any definitions yet.
The clamav-daemon has a condition in its unit file that tests on the 
availability of such files.

Unfortunately there is no mechanism yet to let the service reevaluate
that once freshclam is done, that was part of a discussion in the other
bug I remember.

The implications for this bug might be that a service not started due to this 
might - on a later upgrade run into this I have seen in your log:
  Failed to stop clamav-daemon.socket: Unit clamav-daemon.socket not loaded.

IMHO that stopping in the prerm should be non fatal in case it already
(or still) is stopped.

Could you as a try manually start your clamav-daemon (now after a while
of freshclam running it should be able to). And then update again. I
would hope that then the prerm can shut it down as expected and your
update can proceed. No fix yet but a workaround worth trying.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1619064

Title:
  package clamav-daemon 0.99+dfsg-1ubuntu1.1 failed to install/upgrade:
  subprocess new pre-removal script returned error exit status 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1619064/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to