I have a fresh installation of Ubuntu 20.04 with LaTeX (via packages
texlive-lang-english), but cannot make work
tlmgr. What I have done:
$ tlmgr install dirtree (running on Debian, switching to user mode!) /usr/bin/tlmgr: unexpected return value from verify_checksum: -5
For this I found in other thread that their key has expired recently: tlmgr: unexpected return value from verify_checksum: -5 for main repository. Hence next:
$ tlmgr install dirtree --verify-repo=none (running on Debian, switching to user mode!) tlmgr: Local TeX Live (2019) is older than remote repository (2020). Cross release updates are only supported with update-tlmgr-latest(.sh/.exe) --update See https://tug.org/texlive/upgrade.html for details.
OK. Downloaded and run the
update-tlmgr-latest.sh script from http://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh and got (btw the
--update option is not recognized):
$ sh update-tlmgr-latest.sh Verifying archive integrity... All good. Uncompressing TeX Live Manager Updater 100% ./runme.sh: Cannot find TeX Live root using kpsewhich --var-value=SELFAUTOPARENT. ./runme.sh: (no tlpkg/texlive.tlpdb and/or tlpkg/tlpobj/.) ./runme.sh: Please set your PATH as needed, otherwise it's hopeless.
I am also hopeless. What is "as needed" supposed to mean?