Thanks for filing this bug in Ubuntu.

There is something going on with your clamav-socket systemd unit it
seems:

Preparing to unpack .../clamav-daemon_0.99.2+dfsg-0ubuntu0.16.04.2_amd64.deb ...
Failed to stop clamav-daemon.socket: Unit clamav-daemon.socket not loaded.
dpkg: warning: subprocess old pre-removal script returned error exit status 5
dpkg: trying script from the new package instead ...
Failed to stop clamav-daemon.socket: Unit clamav-daemon.socket not loaded.
dpkg: error processing archive 
/var/cache/apt/archives/clamav-daemon_0.99.2+dfsg-0ubuntu0.16.04.2_amd64.deb 
(--unpack):
 subprocess new pre-removal script returned error exit status 5

Could you please show us the output of the following commands:

sudo ls -la /run/clamav/clamd.ctl
sudo systemctl status clamav-daemon.service clamav-daemon.socket
sudo systemctl stop clamav-daemon.service clamav-daemon.socket
sudo ls -la /run/clamav/clamd.ctl
sudo systemctl start clamav-daemon.service clamav-daemon.socket
sudo systemctl status clamav-daemon.service clamav-daemon.socket
sudo ls -la /run/clamav/clamd.ctl

And then we will proceed from there.

Thanks


** Changed in: clamav (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to clamav in Ubuntu.
https://bugs.launchpad.net/bugs/1718045

Title:
  package clamav-daemon 0.99.2+dfsg-0ubuntu0.16.04.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/1718045/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to