Bug#261994: exim4: Exim daemon doesn't stop on purge

Andreas Metzler Andreas Metzler <ametzler@downhill.at.eu.org>, 261994@bugs.debian.org
Thu, 29 Jul 2004 17:39:19 +0200

On 2004-07-29 Tilman Koschnick <til@subnetz.org> wrote:
> Marc Haber wrote:

> >Hm. Can you retry with EX4DEBUG set to some non-zero value?

> Sure. Looks like exim's init.d file is removed with exim4-base before 
> removal of exim4-daemon-light can trigger it.

indeed. Seems like apt is ignoring policy 7.2
| The Depends field should also be used if the postinst, prerm or postrm
| scripts require the package to be present in order to run. 
in this case. (I cannot reproduce myself in the sid chroot, but I
assume it somehow hangs itself in provides/conflicts/replaces/depends)

We'll work around it by also stopping the daemon in exim4-base
"postrm remove".
             cu andreas
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"