In LuaTeX, Version 1.0.4 (TeX Live 2017/Debian), in order to use the standalone mode, I needed to add \RequirePackage{luatex85}, as in this answer. This method is called there a temporary workaround until standalone is updated. Now I upgraded to Ubuntu 20.04.1 LTS, which comes with LuaTeX, Version 1.10.0 (TeX Live 2019/Debian), and luatex85 can no more be found:
! LaTeX Error: File `luatex85.sty' not found.
but standalone still does not work without it. In other words, this example
\RequirePackage{luatex85}
\documentclass{standalone}
\begin{document}
test
\end{document}
does not compile, no matter if the line \RequirePackage{luatex85} is present or not. The error message is as above in both cases.
I copied /usr/share/texlive/texmf-dist/tex/generic/luatex85 from one distribution to another, it did not help. Can I somehow fix the problem?
sudo mktexlsrafterwards to update its file lists – David Carlisle Mar 08 '21 at 08:18texlive-latex-baseand eventexlive-latex-extra. Anyways,sudo mktexlsrworks, thanks. – scriptfoo Mar 08 '21 at 15:45