lualatex.fmt 缺失

lualatex.fmt 缺失

在全新安装的 ubuntu texlive 上,编译时出现无法找到的lualatex错误:lualatex.fmt

> lualatex document.tex

This is LuaTeX, Version 1.10.0 (TeX Live 2019/Debian) 
 restricted system commands enabled.

kpathsea: Running mktexfmt lualatex.fmt
mktexfmt: mktexfmt is using the following fmtutil.cnf files (in precedence order):
mktexfmt: mktexfmt is using the following fmtutil.cnf file for writing changes:
mktexfmt:   /home/user/.texlive2019/texmf-config/web2c/fmtutil.cnf
mktexfmt [INFO]: writing formats under /home/user/.texlive2019/texmf-var/web2c
mktexfmt [INFO]: did not find entry for byfmt=lualatex, skipped
mktexfmt [INFO]: total formats: 0
mktexfmt [INFO]: exiting with status 0
I can't find the format file `lualatex.fmt'!

这是重现错误的文件的最低版本:

\documentclass{beamer}
\usetheme{default}

\title{Beamer Template}

\begin{document}
\begin{frame}[plain]
    \maketitle
\end{frame}
\begin{frame}{Frame Title}
\end{frame}
\end{document}

有人知道这里出了什么问题或如何解决这个问题吗?谢谢。

相关内容