Bug#1058452: tex-common: "fmtutil failed" in post-installation script
The log contains
fmtutil [WARNING]: inifile pdfxmltex.ini for pdfxmltex/pdftex not found.
fmtutil [WARNING]: inifile xmltex.ini for xmltex/pdftex not found.
These seem to be missing
Norbert
--
PREINING Norbert https://www.preining.info
Mercari + IFMGA ProGuide + TU Wien + TeX Live
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Dec 12, 2023 20:09:29 Sanjoy Mahajan <sanjoy@mit.edu>:
> Package: tex-common
> Version: 6.18
> Severity: normal
> X-Debbugs-Cc: none, Sanjoy Mahajan <sanjoy@mit.edu>
>
> On recent upgrades, setting up tex-common fails with the following error
> (regenerated using 'apt install -f'):
>
> # apt install -f
> Setting up tex-common (6.18) ...
> Running mktexlsr. This may take some time... done.
> Running mtxrun --generate. This may take some time... done.
> Running updmap-sys. This may take some time... done.
> Running mktexlsr /var/lib/texmf ... done.
> Building format(s) --all.
> This may take some time...
> fmtutil failed. Output has been stored in
> /tmp/fmtutil.amiyTgkU
> Please include this file if you report a bug.
>
> dpkg: error processing package tex-common (--configure):
> installed tex-common package post-installation script subprocess returned error exit status 1
> Errors were encountered while processing:
> tex-common
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> I've attached /tmp/fmtutil.amiyTgkU
>
> The relevant lines may be its last lines:
>
> fmtutil [WARNING]: inifile pdfxmltex.ini for pdfxmltex/pdftex not found.
> fmtutil [WARNING]: inifile xmltex.ini for xmltex/pdftex not found.
> fmtutil [INFO]: disabled formats: 1
> fmtutil [INFO]: successfully rebuilt formats: 43
> fmtutil [INFO]: not available formats: 2
> fmtutil [INFO]: failed to build: 2 (pdftex/pdfxmltex pdftex/xmltex)
> fmtutil [INFO]: total formats: 48
> fmtutil [INFO]: exiting with status 2
>
> The exit status of 2 makes me think that it results from there being two
> unavailable formats.
>
> p.s. This error seems different from bug #1051243 (which involved locale
> errors).
>
>
> -- System Information:
> Debian Release: sid
> APT prefers unstable
> APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 6.5.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_WARN, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
> Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE not set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages tex-common depends on:
> ii ucf 3.0043+nmu1
>
> tex-common recommends no packages.
>
> Versions of packages tex-common suggests:
> ii debhelper 13.11.8
>
> Versions of packages texlive-base depends on:
> ii debconf [debconf-2.0] 1.5.82
> ii libpaper-utils 1.1.29
> ii sensible-utils 0.0.20
> ii texlive-binaries 2023.20230311.66589-8
> ii ucf 3.0043+nmu1
> ii xdg-utils 1.1.3-4.1
>
> Versions of packages texlive-base recommends:
> ii lmodern 2.005-1
>
> Versions of packages texlive-base suggests:
> ii evince [postscript-viewer] 45.0-1
> ii ghostscript [postscript-viewer] 10.02.1~dfsg-1
> ii gv [postscript-viewer] 1:3.7.4-2+b1
> ii mupdf [pdf-viewer] 1.23.7+ds1-1
> ii okular [postscript-viewer] 4:23.08.1-2
> ii perl-tk 1:804.036+dfsg1-1
> ii xpdf [pdf-viewer] 3.04+git20220601-1+b2
> pn xzdec <none>
> ii zathura-pdf-poppler [pdf-viewer] 0.3.2-1
> ii zathura-ps [postscript-viewer] 0.2.7-2+b2
>
> Versions of packages texlive-binaries depends on:
> ii libc6 2.37-13
> ii libcairo2 1.18.0-1
> ii libfontconfig1 2.14.2-6
> ii libfreetype6 2.13.2+dfsg-1
> ii libgcc-s1 13.2.0-8
> ii libgraphite2-3 1.3.14-1
> ii libharfbuzz0b 8.0.1-1
> ii libicu72 72.1-4
> ii libkpathsea6 2023.20230311.66589-8
> ii libmpfr6 4.2.1-1
> ii libpaper1 1.1.29
> ii libpixman-1-0 0.42.2-1
> ii libpng16-16 1.6.40-2
> ii libpotrace0 1.16-2
> ii libptexenc1 2023.20230311.66589-8
> ii libstdc++6 13.2.0-8
> ii libsynctex2 2023.20230311.66589-8
> ii libteckit0 2.5.11+ds1-1+b1
> ii libtexlua53-5 2023.20230311.66589-8
> ii libx11-6 2:1.8.7-1
> ii libxaw7 2:1.0.14-1
> ii libxi6 2:1.8-1+b1
> ii libxmu6 2:1.1.3-3
> ii libxpm4 1:3.5.17-1
> ii libxt6 1:1.2.1-1.1
> ii libzzip-0-13 0.13.72+dfsg.1-1.1
> ii perl 5.36.0-10
> ii t1utils 1.41-4
> ii zlib1g 1:1.3.dfsg-3
>
> Versions of packages texlive-binaries recommends:
> ii dvisvgm 3.1.2+ds-1
> ii texlive-base 2023.20231007-1
>
> Versions of packages texlive-binaries suggests:
> pn hintview <none>
> pn texlive-binaries-sse2 <none>
>
> -- debconf information:
> texlive-base/texconfig_ignorant:
> * texlive-base/binary_chooser: pdftex, dvips, dvipdfmx, xdvi
Reply to: