<div>Hi,<br></div><div><br></div><div>I'd like to report a bug in tlmgr.pl.<br></div><div><br></div><div>It messes up relative paths to the files it needs during the execution.<br></div><div>Here is its output:<br></div><div>$ /usr/share/texmf-dist/scripts/texlive/tlmgr.pl --usermode search document.cls<br></div><div>Can't locate TeXLive/TLConfig.pm in @INC (you may need to install the TeXLive::TLConfig module) (@INC contains: /usr/share/<b>texmf-dist/scripts/texlive/../../texmf-dist/scripts/</b>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.<br></div><div>BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/texlive/tlmgr.pl line 98.<br></div><div><br></div><div>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:<br></div><div><br></div><div>$ export PERL5LIB=/usr/share/tlpkg/<br></div><div>$ /usr/share/texmf-dist/scripts/texlive/tlmgr.pl --usermode search document.cls<br></div><div>/bin/sh: /usr/share/texmf-dist/scripts/texlive/../../tlpkg/installer/config.guess: No such file or directory<br></div><div>/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.<br></div><div><br></div><div>it fails looking for file "/usr/share/tlpkg/installer/config.guess"<br></div><div><br></div><div>I'm using ArchLinux and its packaged texlive-core version 2016.43757-1.<br></div><div><br></div><div>Yours,<br></div><div>Chris<br></div><div class="protonmail_signature_block "><div class="protonmail_signature_block-user protonmail_signature_block-empty"><br></div><div class="protonmail_signature_block-user protonmail_signature_block-empty"><br></div><div class="protonmail_signature_block-user protonmail_signature_block-empty"><br></div><div class="protonmail_signature_block-user protonmail_signature_block-empty"><br></div></div><div><br></div>