Botched attempt to update TL'20

Mike Marchywka marchywka at hotmail.com
Thu Dec 10 02:39:05 CET 2020


On Wed, Dec 09, 2020 at 04:46:39PM -0800, Paulo Ney de Souza wrote:
>    Before I could see David's answer to the previous question, I tried to "update" my installation of TL'20 and in a sequence
>    of fairly simple steps I ended up with a completely botched installation.
>    I started with a perfectly working TL'20, and did:
>      tlmgr update --self
>      tlmgr update --all
>    It kept chugging along and had a few errors like:
>    ----
>    [466/466, 13:20/13:20] update: collection-publishers [2k] (55694 -> 56927) ... done
>    running mktexlsr ...
>    done running mktexlsr.
>    running mtxrun --generate ...
>    done running mtxrun --generate.
>    running updmap-sys ...
>    tlmgr: updmap-sys failed (status 1), output:
>    updmap will read the following updmap.cfg files (in precedence order):
>      /usr/local/texlive/2020/texmf-config/web2c/updmap.cfg
>      /usr/local/texlive/2020/texmf-dist/web2c/updmap.cfg
>    updmap may write changes to the following updmap.cfg file:
>      /usr/local/texlive/2020/texmf-config/web2c/updmap.cfg
>    dvips output dir: "/usr/local/texlive/2020/texmf-var/fonts/map/dvips/updmap"
>    pdftex output dir: "/usr/local/texlive/2020/texmf-var/fonts/map/pdftex/updmap"
>    dvipdfmx output dir: "/usr/local/texlive/2020/texmf-var/fonts/map/dvipdfmx/updmap"
>    updmap [ERROR]: The following map file(s) couldn't be found:
>    updmap [ERROR]:         Baskervaldx.map (in /usr/local/texlive/2020/texmf-dist/web2c/updmap.cfg)
>    updmap [ERROR]:         STEPGreekTest.map (in /usr/local/texlive/2020/texmf-dist/web2c/updmap.cfg)
>    updmap [ERROR]:         cmathbb.map (in /usr/local/texlive/2020/texmf-dist/web2c/updmap.cfg)
>    updmap [ERROR]:         josefin.map (in /usr/local/texlive/2020/texmf-dist/web2c/updmap.cfg)
>    updmap [ERROR]:         plimsoll.map (in /usr/local/texlive/2020/texmf-dist/web2c/updmap.cfg)
>    updmap [ERROR]:         rojud.map (in /usr/local/texlive/2020/texmf-dist/web2c/updmap.cfg)
>    updmap [ERROR]:         spectral.map (in /usr/local/texlive/2020/texmf-dist/web2c/updmap.cfg)
>    updmap [ERROR]: Did you run mktexlsr?
>            You can disable non-existent map entries using the option
>              --syncwithtrees.
>    regenerating fmtutil.cnf in /usr/local/texlive/2020/texmf-dist
>    running fmtutil-sys --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --no-error-if-no-format --byengine uptex ...
>    tlmgr: fmtutil-sys --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --no-error-if-no-format --byengine uptex failed
>    (status 2), output:
>    fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence order):
>    fmtutil:   /usr/local/texlive/2020/texmf-dist/web2c/fmtutil.cnf
>    fmtutil: fmtutil is using the following fmtutil.cnf file for writing changes:
>    fmtutil:   /usr/local/texlive/2020/texmf-config/web2c/fmtutil.cnf
>    fmtutil [INFO]: writing formats under /usr/local/texlive/2020/texmf-var/web2c
>    fmtutil [INFO]: --- remaking uptex with uptex
>    fmtutil: running `uptex -ini   -jobname=uptex -progname=uptex uptex.ini' ...
>    -----
>    and finally stopped at:
>    -----
>    ranscript written on mf.log.
>    fmtutil [INFO]: log file copied to: /usr/local/texlive/2020/texmf-var/web2c/metafont/mf.log
>    fmtutil [INFO]: /usr/local/texlive/2020/texmf-var/web2c/metafont/mf.base installed.
>    TeX::LSR: ls-R file not writable, skipping: /usr/local/texlive/2020/texmf-var/ls-R
>    Cannot write ls-R in /usr/local/texlive/2020/texmf-var. at
>    /usr/local/texlive/2020/texmf-dist/scripts/texlive/[http://mktexlsr.pl/]mktexlsr.pl line 583.
>    tlmgr: package log updated: /usr/local/texlive/2020/texmf-var/web2c/tlmgr.log
>    tlmgr: An error has occurred. See above messages. Exiting.
>    -----
>    Upon seeing the complaint that ls-R was not writable, I went ahead and changed the permissions. It was writable by root
>    only. and then executed "tlmgr update -all" again.
>    It went through the rather short sequence:
>    ------
>    tlmgr: package repository
>    [https://mirrors.rit.edu/CTAN/systems/texlive/tlnet]https://mirrors.rit.edu/CTAN/systems/texlive/tlnet (verified)
>    tlmgr: saving backups to /usr/local/texlive/2020/tlpkg/backups
>    [1/7, ??:??/??:??] update: decision-table [113k] (57090 -> 57094) ... done
>    [2/7, 00:01/00:43] update: draftwatermark [307k] (55719 -> 57099) ... done
>    [3/7, 00:02/00:23] update: jslectureplanner [1189k] (55117 -> 57095) ... done
>    [4/7, 00:04/00:12] update: microtype [1876k] (52853 -> 57096) ... done
>    [5/7, 00:05/00:06] update: polyglossia [810k] (56676 -> 57098) ... done
>    [6/7, 00:07/00:07] update: stringstrings [415k] (36203 -> 57097) ... done
>    [7/7, 00:08/00:08] update: texlive-docindex [167k] (57087 -> 57092) ... done
>    running mktexlsr ...
>    done running mktexlsr.
>    running mtxrun --generate ...
>    done running mtxrun --generate.
>    tlmgr: package log updated: /usr/local/texlive/2020/texmf-var/web2c/tlmgr.log
>    -----
>    and left me with a rather useless TL'20 installation, that when called on the file:
>    ----
>    \documentclass{report}
>    \begin{document}
>    A
>    \end{document}
>    ----
>    it comes back with:
>    ----
>    aulo at OptiPlex-3070:~/Dropbox/IMPA/CMU$ latex att
>    This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020) (preloaded format=latex)
>     restricted \write18 enabled.
>    entering extended mode
>    (./att.tex
>    LaTeX2e <2020-02-02> patch level 5
>    L3 programming layer <2020-07-17>

I am not sure how this has evolved but L3 is always a mess for me. I wrote
a bunch of kpse scripts so that whenever I change into some project directory
it plays with the variables so I can put my own versions on the part first or
append others  , 
( these either prepend, prp , or postpend, pop and dir to the vars ), 

lroot="/home/documents/latex"
fover="$lroot/share/overrides/"
# add the local dir first to pickup subdirs 
fover=". $fover"
flocalmiss="$lroot/share/includes/"
flocalmiss="$flocalmiss $lroot/share/content/"
flocalmiss="$flocalmiss $lroot/pkg/"
echo setting BIBINPUTS TEXINPUTS BSTINPUTS
. kpse_util prp BIBINPUTS $lroot/bib/
for over in $fover
do
. kpse_util prp TEXINPUTS  $over
. kpse_util prp BSTINPUTS  $over
. kpse_util prp BIBINPUTS  $over
done

for localmiss in $flocalmiss
do
. kpse_util pop TEXINPUTS  $localmiss
. kpse_util pop BSTINPUTS  $localmiss
. kpse_util pop BIBINPUTS  $localmiss
done


Looking at one of those directories, 
find  ../../share/overrides -type d
../../share/overrides
../../share/overrides/source
../../share/overrides/source/latex
../../share/overrides/source/latex/l3kernel
../../share/overrides/doc
../../share/overrides/doc/latex
../../share/overrides/doc/latex/l3kernel
../../share/overrides/tex
../../share/overrides/tex/latex
../../share/overrides/tex/latex/l3kernel


It looks like mostly or all L3 although I thought I 
had finally fixed this and just had some problems
with siunits or similar. 

Anyway, you may be able to figure it out looking
at the various kpse variables...

I'm hoping some one knows however what finally 
happened with L3...







>    (/usr/local/texlive/2020/texmf-dist/tex/latex/base/article.cls
>    Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
>    (/usr/local/texlive/2020/texmf-dist/tex/latex/base/size10.clo))
>    (/usr/local/texlive/2020/texmf-dist/tex/latex/geometry/geometry.sty
>    (/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/keyval.sty)
>    (/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/ifvtex.sty
>    (/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/iftex.sty)))
>    (/usr/local/texlive/2020/texmf-dist/tex/latex/lipsum/lipsum.sty
>    (/usr/local/texlive/2020/texmf-dist/tex/latex/l3kernel/expl3.sty
>    ! LaTeX Error: Missing \begin{document}.
>    See the LaTeX manual or LaTeX Companion for explanation.
>    Type  H <return>  for immediate help.
>     ...
> 
>    l.77      \ExplLoaderFileDate{expl3.sty}}
>                                             %
>    ? x
>    No pages of output.
>    Transcript written on att.log.
>    paulo at OptiPlex-3070:~/Dropbox/IMPA/CMU$ vi t5.tex
>    paulo at OptiPlex-3070:~/Dropbox/IMPA/CMU$ latex t5
>    This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020) (preloaded format=latex)
>     restricted \write18 enabled.
>    entering extended mode
>    (./t5.tex
>    LaTeX2e <2020-02-02> patch level 5
>    L3 programming layer <2020-07-17>
>    (/usr/local/texlive/2020/texmf-dist/tex/latex/base/report.cls
>    Document Class: report 2020/04/10 v1.4m Standard LaTeX document class
>    (/usr/local/texlive/2020/texmf-dist/tex/latex/base/size10.clo))
>    (/usr/local/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-dvips.def
>    ! LaTeX Error: Mismatched LaTeX support files detected.
>                   Loading aborted!.
>    See the LaTeX manual or LaTeX Companion for explanation.
>    Type  H <return>  for immediate help.
>     ...
> 
>    l.43   }
> 
>    ? x
>    No pages of output.
>    Transcript written on t5.log.
>    ----
>    Is this normal???? I have never seen anything like that from "tlmgr" before.
>    Paulo Ney

-- 

mike marchywka
306 charles cox
canton GA 30115
USA, Earth 
marchywka at hotmail.com
404-788-1216
ORCID: 0000-0001-9237-455X


More information about the texhax mailing list.