Я установил texlive в Ubuntu 20.04 с:
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 имя_пакета
. tlmgr устанавливается при установке латекса ...
Вывод dpkg -S $ (который tlmgr)
texlive-base: /usr/bin/tlmgr
Вывод политики apt-cache 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/status
Вывод tlmgr --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
Two moments here:
According to this Q&A on StackExchange - the TuG GPG keys are expired, so you have to add --verify-repo=none
to the command, like below:
tlmgr --verify-repo=none install beamer
Also please note that tlmgr
will show the warning:
tlmgr: Local TeX Live (2019) is older than remote repository (2020).
so some additional actions are required.
Personally I prefer to install using deb-packages from the distro. You can use such method as a workaround. For the beamer package the correct deb-package name may be obtained from packages.ubuntu.com while searching for beamer.cls. So you have to install single package:
sudo apt-get install texlive-latex-recommended