Bug#251358: Something broken in tetex-bin
From: Hilmar Preusse <hille42@web.de>
Subject: Bug#251358: Something broken in tetex-bin
Date: Fri, 28 May 2004 15:41:31 +0200
> I've just rebuilt my tetex-bin.
>
> drachi:[tetex] >dpkg-deb -c tetex-bin_2.0.2-14_i386.deb |grep etc/texmf
> drwxr-xr-x root/root 0 2004-05-28 15:03:02 ./etc/texmf/
> drwxr-xr-x root/root 0 2004-05-28 15:03:18 ./etc/texmf/fmt.d/
> -rw-r--r-- root/root 3587 2004-05-28 15:03:18 ./etc/texmf/fmt.d/00tetex.cnf
> drwxr-xr-x root/root 0 2004-05-28 15:03:02 ./etc/texmf/texmf.d/
> lrwxrwxrwx root/root 0 2004-05-28 15:03:18 ./var/lib/texmf/web2c/texmf.cnf -> /etc/texmf/texmf.cnf
> drachi:[tetex] >
>
> The related parts from debian/rules:
>
> # update-texmf stuffs #########
> mv -f $(debvar)/web2c/texmf.cnf $(sharedir)/tetex-bin
> # these files are handled by ucf
> cp texmf.d/*.cnf $(sharedir)/$(package)
> cp -a debian/md5sums/*md5sum* $(sharedir)/$(package)
> install -m 755 debian/update-texmf debian/$(package)/usr/sbin
> (cd $(debvar)/web2c/; ln -s $(etcdir)/texmf.cnf .)
> cp debian/update-texmf.8 $(sharedir)/man/man8/
>
> AFAICS nothing is installed to /etc/texmf/texmf.d . Is that intended?
Yes, it was intended, I guess. Brief explanation or my
understanding.
If files were installed with rules they were conffiles
and should be handled by dpkg correctly.
But from woody to sarge upgrade we changed the names of files
from 05TeXMF to 05TeXMF.cnf so dpkg would ask a user that they
were modified and if one would overwrite them or keep modification.
So Frank changed them from conffiles to configuration files controled
with ucf so now they were not installed with rules.
Well, I remembered that Frank said something like the followings;
if they are removed or size=0 then ucf wouldn't install package's files.
Is this relevant to this bug or it was alredy fixed?
Regards, 2004-5-28(Fri)
--
Debian Developer & Debian JP Developer - much more I18N of Debian
Atsuhito Kohda <kohda@debian.org>
Department of Math., Univ. of Tokushima
Reply to: