Bug#2911: Conffiles are deleted too late ? (Re: Bug#2701: seyon: dpkg --purge doesn't work)
In article <9604162054.AA19156@server.et-inf.fho-emden.de> "Peter Tobias" <email@example.com> writes:
> Package: seyon
> Version: 2.14c-3
> dpkg --purge seyon doesn't remove all seyon files/directories:
> # dpkg --purge seyon
> (Reading database ... 13758 files and directories currently installed.)
> Removing seyon ...
> dpkg - warning: while removing seyon, directory `/etc/X11/seyon' not empty so not removed.
> Purging configuration files for seyon ...
> # ll /etc/X11/seyon/
> total 0
> lrwxrwxrwx 1 root root 20 Apr 15 16:57 seyon-emu -> /usr/X11R6/bin/xterm
Ok, there was a typo in the postrm :
*** seyon-2.14c/debian.postrm Sun May 5 21:23:20 1996
--- seyon-2.14c-3/debian.postrm Fri Apr 5 05:06:05 1996
*** 1,6 ****
--- 1,6 ----
Nevertheless a problem remains:
# dpkg --purge seyon
(Reading database ... 27060 files and directories currently installed.)
Removing seyon ...
dpkg - warning: while removing seyon, directory `/etc/X11/seyon' not empty so n.
Purging configuration files for seyon ...
When dpkg tries to delete /etc/X11/seyon the conffiles still exist.
The only solution I see is to remove the conffiles in the prerm.
Suggestions and opinions ?
Sven Rudolph <firstname.lastname@example.org> ; WWW : http://www.sax.de/~sr1/