PATH et TeX Live 20222022 : pépin d'installation
J'ai installé la TeX Live 2022 en suivant la [méthode indiquée](https://tug.org/texlive/quickinstall.html) par cette distribution.
J'ai mis à jour mon PATH :
$ echo $PATH
/usr/local/texlive/2022/bin/x86_64-linux:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
$ echo $MANPATH
/usr/local/texlive/2022/texmf/doc/man:
$ echo $INFOPATH
/usr/local/texlive/2022/texmf/doc/info:
Malheureusement, je ne réussis pas à utiliser `tlmgr` :
$ sudo tlmgr update --self -all
tlmgr: Local TeX Live (2021) is older than remote repository (2022).
Cross release updates are only supported with
update-tlmgr-latest(.sh/.exe) --update
See https://tug.org/texlive/upgrade.html for details.
Que se passe-t-il ?
------------------------------
*Mise à jour*
J'ai compilé ce petit fichier test :
\documentclass{article}
\begin{document}
test
\end{document}
Avec `pdflatex` :
$ pdflatex test1-tl-2022.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.23 (TeX Live 2021) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./test1-tl-2022.tex
LaTeX2e <2021-11-15> patch level 1
L3 programming layer <2022-02-24>
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2022/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)
(./test1-tl-2022.aux) [1{/usr/local/texlive/2022/texmf-var/fonts/map/pdftex/upd
map/pdftex.map}] (./test1-tl-2022.aux) )</usr/local/texlive/2022/texmf-dist/fon
ts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on test1-tl-2022.pdf (1 page, 11438 bytes).
Transcript written on test1-tl-2022.log.
Avec `xelatex` :
$ xelatex test1-tl-2022.tex
This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./test1-tl-2022.tex
LaTeX2e <2021-11-15> patch level 1
L3 programming layer <2022-02-24>
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2022/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
(|extractbb --version)) (./test1-tl-2022.aux)
(/usr/local/texlive/2022/texmf-dist/tex/latex/base/ts1cmr.fd) [1]
(./test1-tl-2022.aux) )
Output written on test1-tl-2022.pdf (1 page).
Transcript written on test1-tl-2022.log.
Avec `lualatex` :
$ lualatex test1-tl-2022.tex
This is LuaHBTeX, Version 1.13.2 (TeX Live 2021)
restricted system commands enabled.
(./test1-tl-2022.tex
LaTeX2e <2021-11-15> patch level 1
luaotfload | load : FATAL ERROR
luaotfload | load : × Failed to load "fontloader" module "basics-gen".
luaotfload | load : × Error message:
luaotfload | load : × "...022/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua:301: system : no writeable cache path, quiting".
stack traceback:
...ive/2022/texmf-dist/tex/luatex/luaotfload/luaotfload.lua:200: in local 'load_fontloader_module'
...022/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua:303: in upvalue 'init_main'
...022/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua:590: in function 'luaotfload-init.lua'
...ive/2022/texmf-dist/tex/luatex/luaotfload/luaotfload.lua:322: in field 'main'
[\directlua]:1: in main chunk
...022/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua:301: system : no wr
iteable cache path, quiting
stack traceback:
[C]: in function 'error'
...022/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua:301: in function '
os.exit'
...ive/2022/texmf-dist/tex/luatex/luaotfload/luaotfload.lua:203: in local 'loa
d_fontloader_module'
...022/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua:303: in upvalue 'i
nit_main'
...022/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua:590: in function '
luaotfload-init.lua'
...ive/2022/texmf-dist/tex/luatex/luaotfload/luaotfload.lua:322: in field 'mai
n'
[\directlua]:1: in main chunk.
<everyjob> ...ring \\def\string \\encodingdefault{OT1}')end }
\let \f@encoding \encoding...
l.1
\documentclass{article}
?
Hem...