tlmgr runs very slowly on Windows
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- latex, tex
- 領域
- cli, operating-systems
調査の方向性
Windows 上で tlmgr -v install newtx を使って遅延を再現し、rtools44 の PATH エントリがある場合とない場合で環境を比較します。まず C:/tools/TinyTeX/texmf-var/web2c/tlmgr.log、tlmgr-commands.log、報告された temp/update-self.log を確認します。Windows 固有の原因を特定し、数分もかからずにパッケージのインストールを完了できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Hi, thanks for this useful tool. I have been using it on Windows and Mac for years, but tlmgr became suddenly very slow on Windows. tlmgr seems to be able to complete a command, but taking minutes to install one package means impossible to use.
I installed on Windows using Chocolatey, and reinstalled today, but the problem is the same.
Maybe the debug information makes more sense to you guys:
❯ tlmgr -v install newtx
D:The handle is invalid
at open HKCU for all access
D:found lang code lm = en-US...
D:tlmgr version 78616 (2026-04-06 15:48:59 +0200)
D:maintree=C:/tools/TinyTeX
D:appending to package log file: C:/tools/TinyTeX/texmf-var/web2c/tlmgr.log
D:appending to command log file: C:/tools/TinyTeX/texmf-var/web2c/tlmgr-commands.log
D:Setting env var HTTPS_CA_FILE to C:/tools/TinyTeX/tlpkg/installer/curl/curl-ca-bundle.crt
D:tlmgr.pl:main: ::tldownload_server hash:: {enabled:1,errorcount:0,initcount:1,ua:LWP::UserAgent=HASH(0x285878e22f8)}
D:setup_programs: preferring system versions
D:(w32) trying to set up tar, default C:/tools/TinyTeX/tlpkg/installer/tar.exe, arg --version
D:Using shipped C:/tools/TinyTeX/tlpkg/installer/tar.exe for tar (tested).
D:program curl found in path
D:program wget not usable from path
D:(w32) trying to set up wget, default C:/tools/TinyTeX/tlpkg/installer/wget/wget.exe, arg --version
D:Using shipped C:/tools/TinyTeX/tlpkg/installer/wget/wget.exe for wget (tested).
D:TLUtils::setup_programs: checking for ssl enabled wget
D:TLUtils::setup_programs: wget has ssl, final wget args: --no-check-certificate --user-agent=texlive/wget --tries=4 --timeout=30 -q -O
D:program lz4 not usable from path
D:(w32) trying to set up lz4, default C:/tools/TinyTeX/tlpkg/installer/lz4/lz4.exe, arg --version
D:Using shipped C:/tools/TinyTeX/tlpkg/installer/lz4/lz4.exe for lz4 (tested).
D:program gzip found in path
D:program xz found in path
D:Using checksum method digest::sha
D:Testing for gpg in gpg
I disabled rtools44 path, as suggested by ChatGPT, and it seems to run smoother now:
❯ $env:PATH=($env:PATH -split ';' | Where-Object {$_ -notmatch 'rtools44'}) -join ';'
❯ tlmgr update --self --all
tlmgr.pl: package repository https://satztexnik.com/tex-archive/systems/texlive/tlnet (not verified: gpg unavailable)
tlmgr.pl: Preparing TeX Live infrastructure update...
DO NOT CLOSE THIS WINDOW!
TeX Live infrastructure update in progress ...
Detailed command logging to "C:\tools\TinyTeX\temp\update-self.log"
self update: texlive.infra (79365 -> 79511)
Infrastructure update finished successfully.
About to restart tlmgr to complete update ...
tlmgr.pl: package repository https://ftp.rrzn.uni-hannover.de/pub/mirror/tex-archive/systems/texlive/tlnet (not verified: gpg unavailable)
C:\tools\TinyTeX\texmf-dist\scripts\texlive\tlmgr.pl: (make_container __BACKUP_texlive-scripts.r79509.tar) install-tl does not exist
[1/1, ??:??/??:??] update: texlive-scripts [114k] (79509 -> 79598) ... done
running mktexlsr ...
done running mktexlsr.
running updmap-sys ...
done running updmap-sys.
tlmgr.pl: package log updated: C:/tools/TinyTeX/texmf-var/web2c/tlmgr.log
tlmgr.pl: command log updated: C:/tools/TinyTeX/texmf-var/web2c/tlmgr-commands.log
- 主要言語
- R
- スター
- 1.2k
- フォーク
- 128
- 平均マージ
- 1時間 44分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rstudio/tinytex のほかの issue
-
Missing hyphenation patterns are not detected when babel loads the language from its .ini file (\babelprovide, provide=*)対応中かも @cderv が 7 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
[FR] Add `cancel` package to TinyTeX bundle再び着手できるかも @cderv が 290 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
rstudio/tinytex の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
make sure .Random.seed exists対応中かも @topepo が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
tidymodels/tune#1211 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
PecanProject/pecan#4183 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
Rate metrics miscompute list and tuple labels対応中かも @AryanRG が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Trusted-AI/AIF360#582 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100