On Di, 02 Okt 2012, Andreas Beckmann wrote: > That code only cleans up ucf stuff. As ucf is not intended to be used > with conffiles, this does not affect dpkg's database. The code is > working, otherwise debsums wouldn't complain about missing files.
Hmm, but I thought that these files are ucf files not conffiles. ANyway. > Doing it in the postinst is too late, too. > I think dpkg-maintscript-helper renames the file in preinst s.t. dpkg Since we are not calling any of the dpjkg-maintscripts by now, that is irrelevant I guess. > It should probably be sufficient to just add 4 more rm_conffile lines to > texlive-base.maintscript. So I think first we try to add the rm_conffile lines, can you try this patch: --- ./debian/tpm2deb.cfg.orig 2012-10-02 09:03:53.000000000 +0900 +++ ./debian/tpm2deb.cfg 2012-10-02 09:05:26.000000000 +0900 @@ -978,6 +978,10 @@ # # REMOVAL OF CONFIG FILES # +removeconffile;texlive-base;/etc/texmf/dvips/config/config.ps +removeconffile;texlive-base;/etc/texmf/tex/generic/config/pdftexconfig.tex +removeconffile;texlive-base;/etc/texmf/dvipdfmx/dvipdfmx.cfg +removeconffile;texlive-base;/etc/texmf/xdvi/XDvi removeconffile;texlive-base;/etc/texmf/dvips/config/alt-rule.pro removeconffile;texlive-base;/etc/texmf/dvips/config/canonex.cfg removeconffile;texlive-base;/etc/texmf/dvips/config/config.bakoma And I guess one could remove at the same time the code from telxive-base.postinst: --- ./debian/texlive-base.postinst.pre.orig 2012-10-02 09:06:56.000000000 +0900 +++ ./debian/texlive-base.postinst.pre 2012-10-02 09:07:22.000000000 +0900 @@ -30,19 +30,6 @@ old_version=$2 for file in $libpaper_files ; do - if [ -r $file ] ; then - if ucf_is_changed $file ; then - cat > $file.postinst-bak <<EOF -This file is no longer used and has therefore been renamed by the postinst -script of the texlive-base package. -EOF - cat $file >> $file.postinst-bak - fi - rm $file - rm -f $file.ucf-old - rm -f $file.ucf-new - rm -f $file.ucf-dist - fi ucf --purge $file if test -x "`which ucfr`" ; then ucfr --purge texlive-base $file Maybe one can completely drop the ucf file? Maybe the files were never added to the ucf database and this crept in somehow? Best wishes Norbert ------------------------------------------------------------------------ Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org} JAIST, Japan TeX Live & Debian Developer DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ------------------------------------------------------------------------ TREWOFFE (n.) A very thick and heavy drift of snow balanced precariously on the edge of a door porch waiting for what it judges to be the correct moment to fall. From the ancient Greek legend 'The Treewofe of Damocles'. --- Douglas Adams, The Meaning of Liff -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org