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" <tobias@server.et-inf.fho-emden.de> 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 ****
#!/bin/bash
! XTERM=/etc/X11/seyon/seyon-emu
COLORDEFAULTS=/etc/X11/seyon/Seyon
MODEMDEFAULTS=/etc/X11/seyon/Seyon-modem
--- 1,6 ----
#!/bin/bash
! XTERM=/etc/X11/seyon/xterm
COLORDEFAULTS=/etc/X11/seyon/Seyon
MODEMDEFAULTS=/etc/X11/seyon/Seyon-modem
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
--
Sven Rudolph <sr1@inf.tu-dresden.de> ; WWW : http://www.sax.de/~sr1/
Reply to: