Texlive 实用程序失败,看起来该失败与xz
不可用有关。
但是我已经/usr/local/xz
安装并检查它是否可以在 sh 中运行。
我使用的是 2009 年末的 McBook(macbook6,1),运行基于 Opencore Legacy Patcher 1.2.1 的 Sonoma 14.1.1。以下是抱怨 xz 的日志行。还包括完整日志。
2023-11-18 11:55:42 +0000 Warning tlu_ipctask[1485] + echo './runme.sh: no xz.[x86_64-darwinlegacy][.exe] binary for /usr/local/texlive/2023/bin/x86_64-darwinlegacy in /var/folders/32/p5g_8z417w7chjzxml4dv6sw0000gr/T/selfgz148632661/installer/xz.'
2023-11-18 11:55:42 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][915] kqueue noted that pid 1486 exited (/var/folders/32/p5g_8z417w7chjzxml4dv6sw0000gr/T/TLMInfraUpdateOperation.HhD30y/update-tlmgr-latest.sh --nox11 -- --debug)
2023-11-18 11:55:42 +0000 Warning tlu_ipctask[1485] ./runme.sh: no xz.[x86_64-darwinlegacy][.exe] binary for /usr/local/texlive/2023/bin/x86_64-darwinlegacy in /var/folders/32/p5g_8z417w7chjzxml4dv6sw0000gr/T/selfgz148632661/installer/xz.
2023-11-18 11:55:42 +0000 Warning tlu_ipctask[1485] + exit 1
2023-11-18 11:55:42 +0000 Notice tlu_ipctask[1485] child process pid = 1486 exited
2023-11-18 11:55:43 +0000 Notice tlu_ipctask[1485] exit status of pid = 1486 was 1
2023-11-18 11:55:43 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][915] exit status of pid = 1485 was 1
2023-11-18 11:55:43 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][915] kqueue noted that tlu_ipctask (pid = 1485) exited with status 1
完整日志:
2023-11-18 12:53:21 +0000 Notice -[TLMAuthorizedOperation main][915] Invoking privileged task via AuthorizationExecuteWithPrivileges
2023-11-18 12:53:21 +0000 Notice tlu_ipctask[3286] dropped privileges to user nobody
2023-11-18 12:53:22 +0000 Notice +[TLMEnvironment _handleLocationOperationFinished:][915] Finished setting command line server location:
location = https://ftp.acc.umu.se/mirror/CTAN/systems/texlive/tlnet
2023-11-18 12:53:22 +0000 Notice -[TLMAuthorizedOperation setWrapperPID:][915] tlu_ipctask checking in: tlu_ipctask pid = 3286
2023-11-18 12:53:23 +0000 Notice -[TLMAuthorizedOperation setUnderlyingPID:][915] tlu_ipctask checking in: pid = 3287 (/var/folders/32/p5g_8z417w7chjzxml4dv6sw0000gr/T/TLMInfraUpdateOperation.betlwn/update-tlmgr-latest.sh --nox11 -- --debug)
2023-11-18 12:53:23 +0000 Notice tlu_ipctask[3286] tlu_ipctask: child HOME = '/var/root'
2023-11-18 12:53:23 +0000 Notice tlu_ipctask[3286] tlu_ipctask: current HOME = '/var/empty'
2023-11-18 12:53:23 +0000 Notice tlu_ipctask[3286] Verifying archive integrity... All good.
2023-11-18 12:53:24 +0000 Warning tlu_ipctask[3286] 0% 44% 88% 100% /var/folders/32/p5g_8z417w7chjzxml4dv6sw0000gr/T/TLMInfraUpdateOperation.betlwn/update-tlmgr-latest.sh: line 204: /dev/tty: Device not configured
2023-11-18 12:53:24 +0000 Notice tlu_ipctask[3286] Uncompressing TeX Live Manager Updater
2023-11-18 12:53:24 +0000 Notice tlu_ipctask[3286] ./runme.sh: updating in /usr/local/texlive/2023...
2023-11-18 12:53:26 +0000 Notice tlu_ipctask[3286] ./runme.sh: tlmgr version says this is TeX Live 2023,
2023-11-18 12:53:26 +0000 Notice tlu_ipctask[3286] ./runme.sh: and this updater script created: Thu Nov 16 02:12:22 CET 2023.
2023-11-18 12:53:26 +0000 Notice tlu_ipctask[3286] ./runme.sh: proceeding with tlmgr update.
2023-11-18 12:53:26 +0000 Warning tlu_ipctask[3286] + test x = x--upgrade
2023-11-18 12:53:26 +0000 Warning tlu_ipctask[3286] + echo './runme.sh: proceeding with tlmgr update.'
2023-11-18 12:53:26 +0000 Warning tlu_ipctask[3286] + mv ./master/bin .
2023-11-18 12:53:26 +0000 Warning tlu_ipctask[3286] + mkdir ./installer
2023-11-18 12:53:26 +0000 Warning tlu_ipctask[3286] + mv ./master/tlpkg/installer/tar.exe ./installer
2023-11-18 12:53:26 +0000 Warning tlu_ipctask[3286] + mv ./master/tlpkg/installer/xz ./installer
2023-11-18 12:53:26 +0000 Warning tlu_ipctask[3286] + mv ./master/tlpkg/installer/wget ./installer
2023-11-18 12:53:26 +0000 Warning tlu_ipctask[3286] + mv ./master/tlpkg/installer/lz4 ./installer
2023-11-18 12:53:26 +0000 Warning tlu_ipctask[3286] + cd master
2023-11-18 12:53:26 +0000 Warning tlu_ipctask[3286] + tar cf - LICENSE.CTAN LICENSE.TL README README.usergroups index.html readme-html.dir readme-txt.dir release-texlive.txt texmf-dist tlpkg
2023-11-18 12:53:26 +0000 Warning tlu_ipctask[3286] + cd /usr/local/texlive/2023
2023-11-18 12:53:26 +0000 Warning tlu_ipctask[3286] + tar xf -
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + t_instdir=/usr/local/texlive/2023/tlpkg/installer
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + t_xzdir=/usr/local/texlive/2023/tlpkg/installer/xz
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + t_wgetdir=/usr/local/texlive/2023/tlpkg/installer/wget
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + mkdir -p /usr/local/texlive/2023/tlpkg/installer/xz /usr/local/texlive/2023/tlpkg/installer/wget
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + src_tlpobj=master/tlpkg/tlpobj
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + tlpobjs=master/tlpkg/tlpobj/texlive.infra.tlpobj
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + test -n 1
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] pwd
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] ++ pwd
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + : 'here (/var/folders/32/p5g_8z417w7chjzxml4dv6sw0000gr/T/selfgz328717045):'
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + ls
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] bin
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] installer
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] master
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] runme.sh
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + : installer:
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + ls installer
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] lz4
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] tar.exe
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] wget
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] xz
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + : installer/wget:
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + ls installer/wget
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + : installer/xz:
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + ls installer/xz
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + : ROOT/bin=/usr/local/texlive/2023/bin:
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + ls /usr/local/texlive/2023/bin
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] x86_64-darwinlegacy
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + for a in '"$ROOT"/bin/*'
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + test -d /usr/local/texlive/2023/bin/x86_64-darwinlegacy
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] basename "$a"
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] ++ basename /usr/local/texlive/2023/bin/x86_64-darwinlegacy
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + b=x86_64-darwinlegacy
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + test x86_64-darwinlegacy = man
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + echo './runme.sh: updating /usr/local/texlive/2023/bin/x86_64-darwinlegacy ...'
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + tlpobjs='master/tlpkg/tlpobj/texlive.infra.tlpobj master/tlpkg/tlpobj/texlive.infra.x86_64-darwinlegacy.tlpobj'
2023-11-18 12:53:27 +0000 Notice tlu_ipctask[3286] ./runme.sh: updating /usr/local/texlive/2023/bin/x86_64-darwinlegacy ...
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + cd bin
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + tar cf - x86_64-darwinlegacy
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + cd /usr/local/texlive/2023/bin
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + tar xf -
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + test -r installer/xz/xz.x86_64-darwinlegacy
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + test -r installer/xz/xz.x86_64-darwinlegacy.exe
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + echo x86_64-darwinlegacy
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + egrep 'win32|windows'
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] pwd
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] ++ pwd
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + echo './runme.sh: no xz.[x86_64-darwinlegacy][.exe] binary for /usr/local/texlive/2023/bin/x86_64-darwinlegacy in /var/folders/32/p5g_8z417w7chjzxml4dv6sw0000gr/T/selfgz328717045/installer/xz.'
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] ./runme.sh: no xz.[x86_64-darwinlegacy][.exe] binary for /usr/local/texlive/2023/bin/x86_64-darwinlegacy in /var/folders/32/p5g_8z417w7chjzxml4dv6sw0000gr/T/selfgz328717045/installer/xz.
2023-11-18 12:53:27 +0000 Warning tlu_ipctask[3286] + exit 1
2023-11-18 12:53:27 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][915] kqueue noted that pid 3287 exited (/var/folders/32/p5g_8z417w7chjzxml4dv6sw0000gr/T/TLMInfraUpdateOperation.betlwn/update-tlmgr-latest.sh --nox11 -- --debug)
2023-11-18 12:53:27 +0000 Notice tlu_ipctask[3286] child process pid = 3287 exited
2023-11-18 12:53:28 +0000 Notice tlu_ipctask[3286] exit status of pid = 3287 was 1
2023-11-18 12:53:28 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][915] exit status of pid = 3286 was 1
2023-11-18 12:53:28 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][915] kqueue noted that tlu_ipctask (pid = 3286) exited with status 1
2023-11-18 12:53:28 +0000 Notice -[TLMInfraUpdateOperation main][915] Removed temp directory "/var/folders/32/p5g_8z417w7chjzxml4dv6sw0000gr/T/TLMInfraUpdateOperation.betlwn"
答案1
包括我在内的许多用户都遇到了同样的问题。sudo tlmgr update --self
在终端中运行可以修复此问题。感谢 Joseph Wright 和 Alan Munn 的修复。
答案2
您现在可以在 TeX Live Utility 中解决此问题,方法是按住选项关键和选择从关键存储库安装 TeX Live Manager在里面操作菜单。
tlmgr
此功能允许 TeX Live Utility 用户通过安装update-tlmgr-latest.sh
来测试新版本https://tug.org/texlive/tlcritical/。修复后的脚本将于今晚(11 月 20 日)发布,因此很快就会发布到镜像中。
感谢 Bruno Voisin 出色地找到了根本原因总结如下感谢 Karl Berry 实际实施了修复。这是一个相当模糊的问题。