Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

tlmgr runs very slowly on Windows

オープン
#512 コメント 10 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
latex, tex

調査の方向性

Windows 上で tlmgr -v install newtx を使って遅延を再現し、rtools44 の PATH エントリがある場合とない場合で環境を比較します。まず C:/tools/TinyTeX/texmf-var/web2c/tlmgr.log、tlmgr-commands.log、報告された temp/update-self.log を確認します。Windows 固有の原因を特定し、数分もかからずにパッケージのインストールを完了できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

question

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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rstudio/tinytex のほかの issue

rstudio/tinytex の issue をすべて見る

似ている issue

R の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。