Bug#197579: tetex-base: on purge, this pkg removes conffiles from other packages
From: Hilmar Preusse <hille42@web.de>
Subject: Bug#197579: tetex-base: on purge, this pkg removes conffiles from other packages
Date: Tue, 17 Jun 2003 00:29:37 +0200
> OK, I see. So during purging of tetex-base we must remove only the
> files, which might have been created during postin. The following
> patch might do this. The creation of these files is done during
> postin of tetex-bin and they are removed during postin on tetex-bin,
right (very complicated, indeed),
> so I don't know in the moment, why the entry for /etc/texmf exist
> anyway
this "rm -rf /etc/texmf" was added by me to close: #61293
(from changelog.Debian, my memory was not so clear ;-)
It seemed at least /etc/texmf/dvips was left after purge.
> anyway (oh wait, language.dat is not removed during postrm of
> tetex-bin). In postin of tetex-bin I found further:
>
> rm -f ${TEXMFC}* ${FMTCNF}*
> rm -rf ${TEXMFD}
> rm -rf ${FMTD}
>
> in case of purge, with
>
> TEXMFC=/etc/texmf/texmf.cnf
> FMTCNF=/etc/texmf/fmtutil.cnf
> TEXMFD=/etc/texmf/texmf.d
> FMTD=/etc/texmf/fmt.d
>
> which is IMHO the same policy violation. We should remove only the
> generated files and the files* versions and then we're done. The last
> two commands are surplus.
> Who will ever remove /etc/texmf if it is found to be empty? dpkg?
I guess so.
> Hope I didn't tell too much nonsense.
Thanks for your investigation. I will fix these problem.
Regards, 2003-6-17(Tue)
--
Debian Developer & Debian JP Developer - much more I18N of Debian
Atsuhito Kohda <kohda@debian.org>
Department of Math., Tokushima Univ.
Reply to: