我有一个 Docker 映像
FROM ubuntu:20.04
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y texlive-xetex \
texlive-lang-french texlive-fonts-extra texlive-science \
latexmk git python3
我想从中安装latexindent
。问题是我无法使用 tlmgr:
root@fba0091062ef latex
$ tlmgr option repository ctan
(running on Debian, switching to user mode!)
TLPDB: not a directory, not loading: /root/texmf
tlmgr: running in usermode, did you call `tlmgr init-usertree'?
root@fba0091062ef latex
$ tlmgr init-usertree
root@fba0091062ef latex
$ tlmgr update --self
(running on Debian, switching to user mode!)
/usr/bin/tlmgr: unexpected return value from verify_checksum: -5
我为什么会遇到这个问题?