On 2026-05-13 04:33:29 +0200, Vincent Lefevre wrote:
> Can't locate TeXLive/TLConfig.pm in @INC (you may need to install the 
> TeXLive::TLConfig module) (@INC entries checked: /texmf-dist/scripts/texlive 
> /tlpkg /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1 
> /usr/local/share/perl/5.40.1 /usr/lib/x86_64-linux-gnu/perl5/5.40 
> /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base 
> /usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40 
> /usr/local/lib/site_perl) at /usr/bin/tlmgr line 97.
> BEGIN failed--compilation aborted at /usr/bin/tlmgr line 97.

Indeed, @INC contains /texmf-dist/scripts/texlive /tlpkg, which are
incorrect. The 2025 version of /usr/bin/tlmgr had:

  $Master = "/usr/share/texlive";
  $::installerdir = $Master;  # for config.guess et al., see TLUtils.pm

  # make Perl find our packages first:
  unshift (@INC, "$Master/tlpkg");
  unshift (@INC, "$Master/texmf-dist/scripts/texlive");

In the 2026, the

  $Master = "/usr/share/texlive";

line is missing.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to