I have been spending hours trying to read answers and blogs and I cannot understand what is the problem with my installation.
I have installed TexLive under ubuntu 18.04. I can compile latex files, make indexes etc. with no issues. I wanted to install a new package and now I am having a problem.
When I try to install the package I get the following message:
tlmgr: Remote repository is newer than local (2017 < 2019)
Cross release updates are only supported with
update-tlmgr-latest(.sh/.exe) --update
Please see https://tug.org/texlive/upgrade.html for details.
This is puzzling as I do have TexLive 2019 installed as it shows by running pdflatex --version (I can type this anywhere since everything is in the path):
pdfTeX 3.14159265-2.6-1.40.20 (TeX Live 2019)
kpathsea version 6.3.1
Copyright 2019 Han The Thanh (pdfTeX) et al.
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.36; using libpng 1.6.36
Compiled with zlib 1.2.11; using zlib 1.2.11
Compiled with xpdf version 4.01
Anyway, I decided to follow the request to use update-tlmgr-latest but, well, I got the following issue:
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.
If I run kpsewhich --var-value=SELFAUTOPARENT I get the following result
/usr/local/texlive/2019
which is the right root of the TexLive 2019. Not sure what to do exactly and now I am stuck as I am not able to install packages.
Any ideas?
/usr/local/texlive/2019/tlpkg/texlive.tlpdband/or/usr/local/texlive/2019/tlpkg/tlpobj/exist? This might be of use: https://tex.stackexchange.com/q/137428/147422 – Subhaneil Lahiri Dec 16 '19 at 00:09