Bug#251358: Something broken in tetex-bin
On 28.05.04 Frank Küster (frank@debian.org) wrote:
> Vittorio <v.demartino2@virgilio.it> wrote:
Hi $\forall$,
> > Reinstalling all over again tetex-2.0.2 from the official debian testing
> > archive via apt-get install tetex-bin again causes a problem: when
> > setting the package up debian testing complains about a missing
> > configuration file under /etc/texmf (as I said this dir was removed by
> > hand by me!). In fact, I found that the configuration program of
> > tetex-bin 2.0.2-14 expected an /etc/texmf/texmf/05TeXMF.cnf file that
> ^^^^^
> thiss should be /texmf.d/
>
> > actually was codified with something like /usr/share/texmf/..../05TeXMF.cnf.
> > I copied the required file under/etc/texmf/texmf/ and the configuration
> > complained about a missing /etc/texmf/texmf.cnf file. I found it under
> > the "usual" /usr/share/texmf/.... and copied in the right position and
> > now the error is as follow:
> >
> > Regenerating /etc/texmf/texmf.cnf ... done
> > update-fmtutil; Something seems wrong.
> > dpkg: error processing tetex-bin (--configure):
> > subprocess post-installation script returned error exit status 1
> > Errors were encountered while processing:
> > tetex-bin
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> >
> > Has anyone any idea on why this has been happening?
>
> This is strange, because if you really _purged_ tetex-bin,
> /etc/texmf/texmf.d/05TeXMF.cnf should be reinstalled. Furthermore,
> there shouldn't be a "texmf.cnf" file "under the usual
> /usr/share/texmf", only in /usr/share/tetex-bin/.
>
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?
H.
--
sigmentation fault
Reply to: