It would appear from the dpkg terminal log that you do not have a Clamav
config, perhaps you removed it?
If you're sure that you did not remove /etc/clamav/clamd.conf, then this
likely is a bug, and please say so and change the state to 'new'.
Otherise, I think the error is giving you fairly good advice. (run
dpkg-reconfigure clamav-daemon, and then contineu the upgrade).
Preparing to replace clamav-daemon 0.96.5+dfsg-1ubuntu1.10.04.2 (using
.../clamav-daemon_0.96.5+dfsg-1ubuntu1.10.04.2_amd64.deb) ...
* There is no configuration file for Clamav.
* Please either dpkg-reconfigure ClamAV daemon, or copy the example from
* /usr/share/doc/clamav-base/examples/ to /etc/clamav/clamd.conf and run
* '/etc/init.d/clamav-daemon start'
invoke-rc.d: initscript clamav-daemon, action "stop" failed.
dpkg: warning: old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
* There is no configuration file for Clamav.
* Please either dpkg-reconfigure ClamAV daemon, or copy the example from
* /usr/share/doc/clamav-base/examples/ to /etc/clamav/clamd.conf and run
* '/etc/init.d/clamav-daemon start'
invoke-rc.d: initscript clamav-daemon, action "stop" failed.
dpkg: error processing
/var/cache/apt/archives/clamav-daemon_0.96.5+dfsg-1ubuntu1.10.04.2_amd64.deb
(--unpack)
** Changed in: clamav (Ubuntu)
Importance: Undecided => Medium
** 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/793314
Title:
package clamav-daemon 0.96.5 dfsg-1ubuntu1.10.04.2 failed to
install/upgrade: subprocess new pre-removal script returned error exit
status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/793314/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs