latest tlmgr update removes mktexlsr?
Jim Diamond
JimDiamond at ns.sympatico.ca
Mon Dec 30 18:03:04 CET 2019
Hi all,
amusingly I was updating TL in one window while reading Stuart's
message. And, just like Stuart, my mktexlsr disappeared.
Actually, it didn't. It is now a dangling symlink:
ls -l /usr/local/texlive/2019/bin/x86_64-linux/mktexlsr
lrwxrwxrwx 1 zsd users 41 Dec 29 15:45 /usr/local/texlive/2019/bin/x86_64-linux/mktexlsr -> ../../texmf-dist/scripts/texlive/mktexlsr
I hope the fix (for the TL distribution) is easy.
Cheers.
Jim
On Mon, Dec 30, 2019 at 11:24 (-0500), Stuart Little wrote:
> CAUTION: This email comes from outside Acadia. Verify the sender and use caution with any requests, links or attachments.
> I have vanilla installations of texlive on several Linux machines, obtained as described here[0]. The latest update, which I usually do by
>> tlmgr update --self --all
> seems to have removed the 'mktexlsr' executable. The output (on all three machines I currently maintain texlive on):
>> tlmgr: package repository <repo; they vary between computers> (verified)
>> tlmgr: saving backups to ${HOME}/texlive/2019/tlpkg/backups
>> [1/5, ??:??/??:??] update: kpathsea.x86_64-linux [40k] (50281 -> 53254) ... done
>> [2/5, 00:01/02:45] update: newtx [5242k] (52998 -> 53255) ... done
>> [3/5, 00:03/00:03] update: tex4ht [937k] (53251 -> 53257) ... done
>> [4/5, 00:04/00:04] update: texlive-docindex [155k] (53237 -> 53253) ... done
>> [5/5, 00:04/00:04] update: texlive-scripts [134k] (53242 -> 53253) ... done
>> running mktexlsr ...
>> tlmgr: mktexlsr failed (status -1), output:
>> running updmap-sys ...
>> done running updmap-sys.
>> tlmgr: package log updated: /root/texlive/2019/texmf-var/web2c/tlmgr.log
>> tlmgr: An error has occurred. See above messages. Exiting.
> To confirm, I then tried running 'mktexlsr' in a terminal. This used to work *immediately* prior to the update (after it happened twice, I tried 'mktexlsr' *before* the update on the third machine). The result is that the command is not found. I am sure that the texlive binaries are in my path (I can run 'pdflatex' fine for instance, as aregular user).
> As a sanity check, I looked inside
> ${HOME}/texlive/2019/bin/x86_64-linux/
> where the binaries live. The 'mktexlsr' file there is a *broken* link to
> ../../texmf-dist/scripts/texlive/mktexlsr
> ---
> References:
> [0] https://www.tug.org/texlive/quickinstall.html
More information about the texhax
mailing list