我在ubuntu 20.04上安装了texlive,其内容如下:
sudo apt -y install texlive-latex-extra texlive-extra-utils texlive-font-utils当我试图安装一个乳胶包(任何)时,我得到:
/usr/bin/tlmgr: unexpected return value from verify_checksum: -5有什么想法吗?
编辑:你好,我用tlmgr install package_name安装软件包。当安装胶乳时.dpkg -S $(which tlmgr)输出
texlive-base: /usr/bin/tlmgrapt-cache policy texlive-base的输出:
texlive-base:
Installed: 2019.20200218-1
Candidate: 2019.20200218-1
Version table:
*** 2019.20200218-1 500
500 http://cl.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
500 http://cl.archive.ubuntu.com/ubuntu focal/universe i386 Packages
100 /var/lib/dpkg/statustlmgr --version的输出:
tlmgr revision 53568 (2020-01-27 19:20:16 +0100)
tlmgr using installation: /usr/share/texlive
TeX Live (http://tug.org/texlive) version 2019发布于 2020-06-26 09:11:12
在这里有两个时刻:
--verify-repo=none添加到命令中,如以下所示: tlmgr -TuG-repo=none install,还请注意,tlmgr将显示警告: tlmgr: Local (2019)比远程存储库(2020)更早。因此,需要采取一些额外的行动。发布于 2021-03-31 01:45:44
tlmgr: Local TeX Live (2019) is older than remote repository (2020)。更改TexLive 2019年的正确存储库解决了此错误。
tlmgr repository add tug.org/historic/systems/texlive/2019/tlnet-final
tlmgr repository list
tlmgr repository remove mirror.ctan.org/systems/texlive/tlnet
tlmgr option repository tug.org/historic/systems/texlive/2019/tlnet-final tlmgr --verify-repo=none install beamer在本例中,我成功地使用了beamer参数安装了--verify-repo=none包。
https://askubuntu.com/questions/1253532
复制相似问题