[Bug 401909] [NEW] unable to remove --purge because initscript expect configfile to exist

himdel himdel at seznam.cz
Mon Jul 20 20:08:56 UTC 2009


Public bug reported:

Binary package hint: clamav

Description:    Ubuntu 8.04.3 LTS
Release:        8.04

clamav-daemon 0.95.1+dfsg-1ubuntu1.2~hardy1

Did purge in aptitude for all clamav packages.
Expected to uninstall clamav, purging config files.
Got error:

Removing clamav-daemon ...
 * 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.

Because clamav gets removed before clamav-daemon, so there is no longer any configfile.
/etc/init.d/clamav-daemon should check for the presence of configfile only on start, not on stop.
Or the pre/postrm script should ignore it failing.

** Affects: clamav (Ubuntu)
     Importance: Undecided
         Status: New

-- 
unable to remove --purge because initscript expect configfile to exist
https://bugs.launchpad.net/bugs/401909
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list