[tex-live] tlmgr bug

Krzysztof Piecuch piecuch at protonmail.com
Wed Jun 7 18:51:04 CEST 2017


I'd like to report a bug in tlmgr.pl.

It messes up relative paths to the files it needs during the execution.
Here is its output:
$ /usr/share/texmf-dist/scripts/texlive/tlmgr.pl --usermode search document.cls
Can't locate TeXLive/TLConfig.pm in @INC (you may need to install the TeXLive::TLConfig module) (@INC contains: /usr/share/texmf-dist/scripts/texlive/../../texmf-dist/scripts/texlive /usr/share/texmf-dist/scripts/texlive/../../tlpkg /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl) at /usr/share/texmf-dist/scripts/texlive/tlmgr.pl line 98.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/texlive/tlmgr.pl line 98.

OK, that is easy, it's going only two levels back (as bolded), but should do it three times. But I don't want to edit the code - it's looking for /usr/share/tlpkg/TeXLive/TLConfig.pm, so we can set PERL5LIB to /usr/share/tlpkg/, right? It helps, but not much:

$ export PERL5LIB=/usr/share/tlpkg/
$ /usr/share/texmf-dist/scripts/texlive/tlmgr.pl --usermode search document.cls
/bin/sh: /usr/share/texmf-dist/scripts/texlive/../../tlpkg/installer/config.guess: No such file or directory
/usr/share/texmf-dist/scripts/texlive/tlmgr.pl: could not run /usr/share/texmf-dist/scripts/texlive/../../tlpkg/installer/config.guess, cannot proceed, sorry at /usr/share/tlpkg/TeXLive/TLUtils.pm line 231.

it fails looking for file "/usr/share/tlpkg/installer/config.guess"

I'm using ArchLinux and its packaged texlive-core version 2016.43757-1.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-live/attachments/20170607/e9e921b3/attachment.html>

More information about the tex-live mailing list