Botched attempt to update TL'20
David Carlisle
d.p.carlisle at gmail.com
Thu Dec 10 03:02:09 CET 2020
If you needed
> Cannot write ls-R in /usr/local/texlive/2020/texmf-var. at
/usr/local/texlive/2020/texmf-dist/scripts/texlive/mktexlsr.pl line 583.
The suspicion is the entire tree is not writable, did you install under
sudo 9in which case you would need sudo tlmgr.
In any case you have updated expl3 but not rebuilt the formats
You have
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-07-17>
but an up to date system has
LaTeX2e <2020-10-01> patch level 2
L3 programming layer <2020-10-27> xparse <2020-03-03>
Possibly the same file permissions issue. Hard to tell.
check that the output of
$ kpsewhich -engine=pdftex pdflatex.fmt
/usr/local/texlive/2020/texmf-var/web2c/pdftex/pdflatex.fmt
shows the correct location of the format file in your main texmf tree, if
you have a local one masking the update, delete it.
David
On Thu, 10 Dec 2020 at 00:49, Paulo Ney de Souza <pauloney at gmail.com> 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/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 (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>
> (/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
>
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20201210/1d6cdc5a/attachment.html>
More information about the texhax
mailing list.