Bug 57425 - tlmgr не запускается из-за проблем с perl-окружением
Summary: tlmgr не запускается из-за проблем с perl-окружением
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: texlive-collection-basic (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: viy
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-04 17:39 MSK by Mike M
Modified: 2026-01-12 12:36 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike M 2026-01-04 17:39:39 MSK
1. # apt-get install texlive-collection-basic
2. $ tlmgr version

Ожидаемый результат: выведет версию.

Фактический результат:

Can't locate TeXLive/TLConfig.pm in @INC (you may need to install the TeXLive::TLConfig module) (@INC entries checked: /usr/share/texmf-dist/scripts/texlive /usr/share/tlpkg /usr/local/lib64/perl/5.38 /usr/local/share/perl/5.38 /usr/lib64/perl5 /usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /etc/perl5 /usr/lib/perl5/vendor_perl) at /usr/bin/tlmgr line 91.
BEGIN failed--compilation aborted at /usr/bin/tlmgr line 91.

Информация о пакете:

$ rpm -qi texlive-collection-basic
Name        : texlive-collection-basic
Version     : 2022
Release     : alt0_12
DistTag     : sisyphus+342303.200.3.1
Architecture: noarch
Install Date: Sun 04 Jan 2026 05:04:46 PM MSK

PS Если создать линк ln -s /usr/share/texmf-dist/tlpkg/TeXLive/ /usr/share/texmf-dist/scripts/texlive/, то утилита запустится.
Comment 1 Mike M 2026-01-04 17:51:35 MSK
Дополнение: tlmgrgui падает с похожим сообщением, но список @INC-катаогов существенно короче:

$ tlmgrgui 
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC entries checked: /usr/local/lib64/perl/5.38 /usr/local/share/perl/5.38 /usr/lib64/perl5 /usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /etc/perl5 /usr/lib/perl5/vendor_perl) at /usr/bin/tlmgrgui line 41.
BEGIN failed--compilation aborted at /usr/bin/tlmgrgui line 41.
Comment 2 Tatyana Gagina 2026-01-12 12:31:24 MSK
Проверялось на Sisyphus, ошибка воспроизводится.

Версия: texlive-collection-basic-2022-alt0_13

Подробнее:
$ tlmgr version
Can't locate TeXLive/TLConfig.pm in @INC (you may need to install the TeXLive::TLConfig module) (@INC entries checked: /usr/share/texmf-dist/scripts/texlive /usr/share/tlpkg /usr/local/lib64/perl/5.38 /usr/local/share/perl/5.38 /usr/lib64/perl5 /usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /etc/perl5 /usr/lib/perl5/vendor_perl) at /usr/bin/tlmgr line 91.
BEGIN failed--compilation aborted at /usr/bin/tlmgr line 91.

после создания симлинка
ln -s /usr/share/texmf-dist/tlpkg/TeXLive/ /usr/share/texmf-dist/scripts/texlive/

ошибка уходит
$  tlmgr version
tlmgr revision 62273 (2022-02-28 09:52:17 +0100)
tlmgr using installation: /usr/share

При запуске tlmgrgui остаётся:
$ tlmgrgui
Can't locate TeXLive/TLUtils.pm in @INC (you may need to install the TeXLive::TLUtils module) (@INC entries checked: /usr/local/lib64/perl/5.38 /usr/local/share/perl/5.38 /usr/lib64/perl5 /usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /etc/perl5 /usr/lib/perl5/vendor_perl) at /usr/bin/tlmgrgui line 41.
BEGIN failed--compilation aborted at /usr/bin/tlmgrgui line 41.