Bug#435812: Cannot install texlive-latex-base due to post-installation script failure
Frank Küster <frank@debian.org> wrote:
> Raphael Manfredi <Raphael_Manfredi@pobox.com> wrote:
>
>> The "american ushyph1.tex" line comes from the file:
>>
>> /etc/texmf/language.d/00tetex.cnf
>>
>> A "dpkg --search" reveals this file was provided by tetex-base.
>
> This is strange, and might point to a bug in our packaging (or in
> dpkg). In etch this file existed,
Not even that, it only existed for a while during etch's development
cycle.
> but since you have updated to lenny's
> or sid's version:
>
>> ii tetex-base 2007-10 TeX Live: teTeX transitional package
>
> it should be gone. Hm, what does dpkg do if the removed file was
> locally modified? Maybe that's the reason.
I think here I found a bug. texlive-common contains the following code
in its postinst script:
for i in updmap.d/10tetex-base.cfg fmt.d/01tetex.cnf tex/language.d/00tetex.cnf ; do
if [ -r /etc/texmf/$i ] ; then
mv /etc/texmf/$i /etc/texmf/$i.obsolete
echo "Obsolete config file /etc/texmf/$i has been renamed" >&2
echo "as /etc/texmf/$i.obsolete." >&2
fi
done
The first line should be changed:
-for i in updmap.d/10tetex-base.cfg fmt.d/01tetex.cnf tex/language.d/00tetex.cnf ; do
+for i in updmap.d/10tetex-base.cfg fmt.d/01tetex.cnf language.d/00tetex.cnf ; do
I couldn't reproduce the problem, because dpkg removed 10tetex.cnf even
though I had changed it (huh?) - therefore I cannot test whether this
fix would solve your problem, but unless I missed anything, it should be
sufficient. Or rather, it should be
-for i in updmap.d/10tetex-base.cfg fmt.d/01tetex.cnf tex/language.d/00tetex.cnf ; do
+for i in updmap.d/10tetex-base.cfg fmt.d/01tetex.cnf language.d/00tetex.cnf language.d/10tetex.cnf; do
Regards, Frank
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
Reply to: