LaTeX:解决 Windows 平台上 tlmgr update 时提示 gpg unavailable 的问题
2023-06-10

在 Windows 平台上修改 TeXLive 的镜像地址为国内第三方镜像站后,执行以下命令:

tlmgr update --self --all

会提示:

tlmgr.pl: package repository https://mirrors.huaweicloud.com/CTAN/systems/texlive/tlnet (not verified: gpg unavailable)

手动安装 tlgpg 包就能解决该问题:

tlmgr --repository http://www.preining.info/tlgpg/ install tlgpg

再执行更新,会输出以下信息,问题解决:

tlmgr.pl: package repository https://mirrors.huaweicloud.com/CTAN/systems/texlive/tlnet (verified)

参考自 https://texlive.info/tlgpg/