I installed texlive on ubuntu 20.04 with:
sudo apt -y install texlive-latex-extra texlive-extra-utils texlive-font-utils
when trying to install a latex package (any) i got:
/usr/bin/tlmgr: unexpected return value from verify_checksum: -5
any ideas?
EDIT: Hello, i install packages with tlmgr install package_name
. tlmgr installs when installing latex...
Output of dpkg -S $(which tlmgr)
texlive-base: /usr/bin/tlmgr
Output of apt-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/status
Output of 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:Also please note that
tlmgr
will show the warning: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:
tlmgr: Local TeX Live (2019) is older than remote repository (2020)
. This error is solved changing the right repository for TexLive 2019.in this example I installed
beamer
package succesfully using the--verify-repo=none
parameter.