Bug#261994: exim4: Exim daemon doesn't stop on purge
Tilman Koschnick
Tilman Koschnick <til@subnetz.org>, 261994-maintonly@bugs.debian.org
Thu, 29 Jul 2004 17:14:38 +0200
Marc Haber wrote:
> Hm. Can you retry with EX4DEBUG set to some non-zero value?
>
> Greetings
> Marc
Sure. Looks like exim's init.d file is removed with exim4-base before
removal of exim4-daemon-light can trigger it.
(Reading database ... 63619 files and directories currently installed.)
Removing exim4 ...
dpkg: exim4-base: dependency problems, but removing anyway as you request:
exim4-daemon-light depends on exim4-base (>= 4.32).
Removing exim4-base ...
+ '[' remove = purge ']'
Purging configuration files for exim4-base ...
+ update-rc.d exim4 remove
+ rm -f /etc/default/exim4
+ '[' -e /var/spool/exim4/input ']'
+ rmdir /var/spool/exim4/input
+ rm -rf /var/run/exim4 /var/log/exim4 /var/spool/exim4/msglog
/var/spool/exim4/db /var/spool/exim4/exim-process.info
/var/spool/exim4/gnutls-params
+ rmdir /var/spool/exim4 /var/lib/exim4
+ true
+ '[' purge = purge ']'
+ '[' -e /usr/share/debconf/confmodule ']'
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z 1 ']'
+ db_purge
+ _db_cmd 'PURGE '
+ echo 'PURGE '
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET=0
+ return 0
Removing exim4-config ...
+ '[' remove = purge ']'
Purging configuration files for exim4-config ...
+ dpkg-statoverride --remove /etc/exim4/passwd.client
+ rm -f /etc/exim4/update-exim4.conf.conf
+ rm -f /var/lib/exim4/config.autogenerated
+ rm -f /etc/exim4/conf.d/main/03_exim4-config_neverusers
/etc/exim4/conf.d/rewrite/30_exim4-config_email-addresses
/etc/exim4/conf.d/rewrite/35_exim4-config_masquerade
+ rmdir /etc/exim4/conf.d/auth /etc/exim4/conf.d/acl
/etc/exim4/conf.d/transport /etc/exim4/conf.d/main
/etc/exim4/conf.d/retry /etc/exim4/conf.d/rewrite
/etc/exim4/conf.d/router /etc/exim4/conf.d /etc/exim4 /var/lib/exim4
+ deluser --quiet Debian-exim
+ '[' purge = purge ']'
+ '[' -e /usr/share/debconf/confmodule ']'
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z 1 ']'
+ db_purge
+ _db_cmd 'PURGE '
+ echo 'PURGE '
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET=0
+ return 0
dpkg: exim4-daemon-light: dependency problems, but removing anyway as
you request:
at depends on mail-transport-agent; however:
Package mail-transport-agent is not installed.
Package exim4-daemon-light which provides mail-transport-agent is to
be removed.
mailx depends on exim4 | mail-transport-agent; however:
Package exim4 is not installed.
Package mail-transport-agent is not installed.
Package exim4-daemon-light which provides mail-transport-agent is to
be removed.
Removing exim4-daemon-light ...
+ '[' -x /etc/init.d/exim4 ']'
Selecting previously deselected package postfix.
(Reading database ... 63464 files and directories currently installed.)
Unpacking postfix (from .../postfix_2.1.3-1_i386.deb) ...
Adding `diversion of /usr/share/man/man8/smtpd.8.gz to
/usr/share/man/man8/smtpd.real.8.gz by postfix'
Setting up postfix (2.1.3-1) ...
Cheers, Til