[tex-live] Different behavior of options in mktexlsr (windows/linux)

Pablo Alfonso González Luengo pablgonz at educarchile.cl
Wed Dec 19 13:48:10 CET 2018


Hello everyone, when using the options "--version" and "--verbose" of
mktexlsr, the results are different in windows and in linux.
Here is an example of the outputs obtained
% win10 pro x64
C:\WINDOWS\system32>kpsewhich -var-value=TEXMFDBS
{!!C:/texlive/texmf-local,!!C:/texlive/2018/texmf-config,!!C:/texlive/2018/texmf-var,!!C:/texlive/2018/texmf-dist}

C:\WINDOWS\system32>mktexlsr --version
kpathsea version 6.3.0
mktexlsr: (C version 1.1 --ak 2002-2015)

C:\WINDOWS\system32>mktexlsr --verbose
kpathsea version 6.3.0
mktexlsr: (C version 1.1 --ak 2002-2015)

C:\WINDOWS\system32>mktexlsr
mktexlsr: Updating C:/texlive/texmf-local/ls-R...
mktexlsr: Updated C:/texlive/texmf-local/ls-R.
mktexlsr: Updating C:/texlive/2018/texmf-config/ls-R...
mktexlsr: Updated C:/texlive/2018/texmf-config/ls-R.
mktexlsr: Updating C:/texlive/2018/texmf-var/ls-R...
mktexlsr: Updated C:/texlive/2018/texmf-var/ls-R.
mktexlsr: Updating C:/texlive/2018/texmf-dist/ls-R...
mktexlsr: Updated C:/texlive/2018/texmf-dist/ls-R.
mktexlsr: Done.

% fedora 29 x64
[root at fedora ~] # kpsewhich -var-value=TEXMFDBS
{!!/usr/local/texlive/texmf-local,!!/usr/local/texlive/2018/texmf-config,!!/usr/local/texlive/2018/texmf-var,!!/usr/local/texlive/2018/texmf-dist}
[root at fedora ~] # mktexlsr --version
mktexlsr $Id$
kpathsea version 6.3.0
Copyright 2018 Karl Berry & Olaf Weber.
License LGPLv2.1+: GNU Lesser GPL version 2.1 or later
<https://gnu.org/licenses/lgpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

[root at fedora ~] # mktexlsr --verbose
mktexlsr: Updating /usr/local/texlive/2018/texmf-config/ls-R...
mktexlsr: Updating /usr/local/texlive/2018/texmf-dist/ls-R...
mktexlsr: Updating /usr/local/texlive/2018/texmf-var/ls-R...
mktexlsr: Updating /usr/local/texlive/texmf-local/ls-R...
mktexlsr: Done.

I was trying to see why when updating in windows (the same number of
packages) it takes almost four times what linux takes to run
"mktexlsr"
(I assume it's because of the file system used by windows 10).
Saludos


More information about the tex-live mailing list