Bug#678711: texlive-binaries: fmtutil-sys fails
I have now looked carefully through mktexlsr and traced its execution
to try to get to the bottom of this.
All I found was that various ls-R* files were wrong. Removing them
allowed mktexlsr to run properly and all the texlive updates to
complete.
I have no idea how the incorrect ls-R files were produced,
but they all seem to be dated 23rd June when I returned
from an absence and did a full aptitude update. Similar updates
on other machines did not have problems.
For what it is worth, here are some details of bad files:
/var/lib/texmf/ls-R-TEXLIVEMAIN
The old file, which caused the trouble, created on 23rd June, was:
-----------------------------------------------------------------
fetex
# . call update-fmtutil
# . call fmtutil-sys --missing (or --all)
#
#cyrtexinfo pdfetex language.dat -translate-file=cp227.tcx *cyrtxinf.ini
# End of file: /etc/texmf/fmt.d/50cyrtexinfo.cnf
(followed by zero byte characters)
----------------------------------------------------
/etc/texmf/fmt.d/50cyrtexinfo.cnf :-
------------------------------------------------
#
# 50cyrtexinfo.cnf
#
# Please leave this comment!
# -_- DebPkgProvidedMaps -_-
#
# Texinfo formats for cyrillic language
#
# If you want to build cyrtexinfo, the cyrillic texinfo format, you have
# to do the following steps (all as root)
# . install either tetex-base and tetex-extra, or texlive-langcyrillic
# . comment out the format line in this file
# . create a link
# /usr/local/bin/cyrtexinfo -> ../../bin/pdfetex
# . call update-fmtutil
# . call fmtutil-sys --missing (or --all)
#
#cyrtexinfo pdfetex language.dat -translate-file=cp227.tcx *cyrtxinf.ini
-----------------------------------------------------------------
Another peculiar file is
-rw-r--r-- 1 root root 955844 Jun 23 14:19 /var/lib/texmf/ls-R-TEXLIVEDIST
which starts (hexdump)
00000000 2f 70 72 74 70 6f 6f 6c 2e 68 00 2f 75 73 72 33 |/prtpool.h./usr3|
00000010 32 2f 69 6e 63 6c 75 64 65 2f 6d 6f 7a 69 6c 6c |2/include/mozill|
00000020 61 2d 31 2e 36 2f 6e 73 70 72 2f 70 72 74 72 61 |a-1.6/nspr/prtra|
00000030 63 65 2e 68 00 2f 75 73 72 33 32 2f 69 6e 63 6c |ce.h./usr32/incl|
00000040 75 64 65 2f 6d 6f 7a 69 6c 6c 61 2d 31 2e 36 2f |ude/mozilla-1.6/|
00000050 6e 73 70 72 2f 70 72 74 79 70 65 73 2e 68 00 2f |nspr/prtypes.h./|
00000060 75 73 72 33 32 2f 69 6e 63 6c 75 64 65 2f 6d 6f |usr32/include/mo|
00000070 7a 69 6c 6c 61 2d 31 2e 36 2f 6e 73 70 72 2f 70 |zilla-1.6/nspr/p|
00000080 72 76 72 73 69 6f 6e 2e 68 00 2f 75 73 72 33 32 |rvrsion.h./usr32|
00000090 2f 69 6e 63 6c 75 64 65 2f 6d 6f 7a 69 6c 6c 61 |/include/mozilla|
000000a0 2d 31 2e 36 2f 6e 73 70 72 2f 70 72 77 69 6e 31 |-1.6/nspr/prwin1|
000000b0 36 2e 68 00 2f 75 73 72 33 32 2f 69 6e 63 6c 75 |6.h./usr32/inclu|
000000c0 64 65 2f 6d 6f 7a 69 6c 6c 61 2d 31 2e 36 2f 6e |de/mozilla-1.6/n|
000000d0 73 73 00 2f 75 73 72 33 32 2f 69 6e 63 6c 75 64 |ss./usr32/includ|
000000e0 65 2f 6d 6f 7a 69 6c 6c 61 2d 31 2e 36 2f 6e 73 |e/mozilla-1.6/ns|
000000f0 73 2f 61 6c 67 68 6d 61 63 2e 68 00 2f 75 73 72 |s/alghmac.h./usr|
00000100 33 32 2f 69 6e 63 6c 75 64 65 2f 6d 6f 7a 69 6c |32/include/mozil|
00000110 6c 61 2d 31 2e 36 2f 6e 73 73 2f 61 73 6e 31 2e |la-1.6/nss/asn1.|
00000120 68 00 2f 75 73 72 33 32 2f 69 6e 63 6c 75 64 65 |h./usr32/include|
00000130 2f 6d 6f 7a 69 6c 6c 61 2d 31 2e 36 2f 6e 73 73 |/mozilla-1.6/nss|
00000140 2f 61 73 6e 31 6d 2e 68 00 2f 75 73 72 33 32 2f |/asn1m.h./usr32/|
00000150 69 6e 63 6c 75 64 65 2f 6d 6f 7a 69 6c 6c 61 2d |include/mozilla-|
00000160 31 2e 36 2f 6e 73 73 2f 61 73 6e 31 74 2e 68 00 |1.6/nss/asn1t.h.|
00000170 2f 75 73 72 33 32 2f 69 6e 63 6c 75 64 65 2f 6d |/usr32/include/m|
00000180 6f 7a 69 6c 6c 61 2d 31 2e 36 2f 6e 73 73 2f 62 |ozilla-1.6/nss/b|
00000190 61 73 65 2e 68 00 2f 75 73 72 33 32 2f 69 6e 63 |ase.h./usr32/inc|
000001a0 6c 75 64 65 2f 6d 6f 7a 69 6c 6c 61 2d 31 2e 36 |lude/mozilla-1.6|
000001b0 2f 6e 73 73 2f 62 61 73 65 36 34 2e 68 00 2f 75 |/nss/base64.h./u|
000001c0 73 72 33 32 2f 69 6e 63 6c 75 64 65 2f 6d 6f 7a |sr32/include/moz|
000001d0 69 6c 6c 61 2d 31 2e 36 2f 6e 73 73 2f 62 61 73 |illa-1.6/nss/bas|
000001e0 65 74 2e 68 00 2f 75 73 72 33 32 2f 69 6e 63 6c |et.h./usr32/incl|
000001f0 75 64 65 2f 6d 6f 7a 69 6c 6c 61 2d 31 2e 36 2f |ude/mozilla-1.6/|
which seems to be a null separated ls output.
---------------------------------------------------------------------------
So I guess I should close the bug, although I suspect there was some
sort of buglet triggered in an configuration script on 23rd June
in one of the tex packages.
ael
Reply to: