Re: Critical infrastructure update failing in TLU alone

Bruno Voisin <[email protected]>
Newsgroups gmane.comp.tex.live
Message-ID <[email protected]>
> On 19 Aug 2026, at 00:06, Adam R. Maxwell <[email protected]> wrote:
> 
> I don't think this test is adequate, unless you export the PATH (depending on your shell). Even then, to avoid problems with sudo frobbing PATH and other environment variables, I'd
> 
> 1) first get a root shell with `sudo -s`, then 
> 2) run as a single command line:
> 
> PATH=/Library/TeX/texbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin ./update-tlmgr-latest.sh


Hi Adam,

Thanks for pointing that out, I wasn't thinking clearly.

Doing as you recommend, the outcome is the same:

% sudo -s
root@mac TeXLive # PATH=/Library/TeX/texbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin ./update-tlmgr-latest.sh
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing TeX Live Manager Updater  100%   ./runme.sh: updating in /usr/local/texlive/2026...
./runme.sh: tlmgr version says this is TeX Live 2026,
./runme.sh: and this updater script created: Sun Aug 16 02:28:42 CEST 2026.
./runme.sh: proceeding with tlmgr update.
./runme.sh: updating /usr/local/texlive/2026/bin/universal-darwin ...
./runme.sh: /Library/TeX/texbin/tlmgr including objects: master/tlpkg/tlpobj/texlive.infra.tlpobj master/tlpkg/tlpobj/texlive.infra.universal-darwin.tlpobj
D:tlmgr version 79639 (2026-07-10 18:45:34 +0200)
D:maintree=/usr/local/texlive/2026
D:appending to package log file: /usr/local/texlive/2026/texmf-var/web2c/tlmgr.log
D:appending to command log file: /usr/local/texlive/2026/texmf-var/web2c/tlmgr-commands.log
D:Setting env var HTTPS_CA_FILE to /usr/local/texlive/2026/tlpkg/installer/curl/curl-ca-bundle.crt
D:tlmgr:main: ::tldownload_server hash:: {enabled:1,errorcount:0,initcount:1,ua:LWP::UserAgent=HASH(0x7b0d116750)}
D:setup_programs: preferring system versions
D:program df found in path
D:program curl found in path
D:program wget not usable from path
D:(unix) trying to set up wget, default /usr/local/texlive/2026/tlpkg/installer/wget/wget.universal-darwin, arg --version
D:program lz4 not usable from path
D:(unix) trying to set up lz4, default /usr/local/texlive/2026/tlpkg/installer/lz4/lz4.universal-darwin, arg --version
D: Using shipped /usr/local/texlive/2026/tlpkg/installer/lz4/lz4.universal-darwin for lz4 (tested).
D:program gzip found in path
D:program xz not usable from path
D:(unix) trying to set up xz, default /usr/local/texlive/2026/tlpkg/installer/xz/xz.universal-darwin, arg --version
D: Using shipped /usr/local/texlive/2026/tlpkg/installer/xz/xz.universal-darwin for xz (tested).
./runme.sh: done.
root@mac TeXLive # exit

So the problem is not with PATH itself.

I think the next step would be for someone with macOS 26.6 Tahoe or above (26.6.1, 26.6.2) to launch TeX Live Utility (latest version 1.57), and select the last item "Reinstall TeX Live Manager" at the bottom of the Actions menu.

For me (MacOS 27.0 Golden Gate Beta 6) this fails like yesterday, with log below.

If the same happens on macOS 26.6, then this comes from Apple's latest security fixes.

If it doesn't, then this is a problem with the latest macOS 27 betas, and we should probably wait for the release version in a month or two. (Or this is a problem with my setup.)

Too bad I didn't keep my secondary Mac on macOS 26, as originally planned. But then I needed to run some very demanding Mathematica calculations, taking literally weeks to complete (nasty NIntegrate stuff), so I decided to split the computations between the two Macs. Hence the need to have identical setups on both.

Bruno


2026-08-19 06:49:00 +0000 Notice -[TLMMainWindowController updateInfrastructure:][9757]	Beginning user-requested infrastructure update…
2026-08-19 06:49:00 +0000 Notice -[TLMMainWindowController _isCorrectDatabaseVersionAtURL:][9757]	Checking database version in case preferences have been changed…
2026-08-19 06:49:00 +0000 Notice -[TLMMainWindowController _updateAllPackagesFromRepository:][9757]	Beginning infrastructure update from https://ctan.mines-albi.fr/systems/texlive/tlnet/
2026-08-19 06:49:22 +0000 Notice -[TLMOperation main][9757]	Successfully executed `/Library/TeX/texbin/tlmgr --machine-readable --repository https://texlive.info/tlgpg/ update --list --all`
2026-08-19 06:49:22 +0000 Notice -[TLMOperation main][9757]	start load https://texlive.info/tlgpg/
finish load https://texlive.info/tlgpg/
2026-08-19 06:49:22 +0000 Notice -[TLMMainWindowController _handleListGPGUpdatesFinishedNotification:][9757]	Found 0 tlgpg packages to update from https://texlive.info/tlgpg/
2026-08-19 06:49:22 +0000 Notice -[TLMInfraUpdateOperation _synchronouslyDownloadURL:toPath:][9757]	Downloading URL: https://ctan.mines-albi.fr/systems/texlive/tlnet/update-tlmgr-latest.sh
2026-08-19 06:49:22 +0000 Notice -[TLMInfraUpdateOperation download:willSendRequest:redirectResponse:][9757]	Download redirected to https://ctan.mines-albi.fr/systems/texlive/tlnet/update-tlmgr-latest.sh, expecting 0 bytes.
2026-08-19 06:49:22 +0000 Notice -[TLMInfraUpdateOperation download:didReceiveResponse:][9757]	Will download 8785885 bytes…
2026-08-19 06:49:23 +0000 Notice -[TLMInfraUpdateOperation download:didReceiveDataOfLength:][9757]	Received 21% of 8785885 bytes…
2026-08-19 06:49:23 +0000 Notice -[TLMInfraUpdateOperation download:didReceiveDataOfLength:][9757]	Received 41% of 8785885 bytes…
2026-08-19 06:49:24 +0000 Notice -[TLMInfraUpdateOperation download:didReceiveDataOfLength:][9757]	Received 62% of 8785885 bytes…
2026-08-19 06:49:25 +0000 Notice -[TLMInfraUpdateOperation download:didReceiveDataOfLength:][9757]	Received 82% of 8785885 bytes…
2026-08-19 06:49:26 +0000 Notice -[TLMInfraUpdateOperation downloadDidFinish:][9757]	Download of 8785885 bytes complete
2026-08-19 06:49:26 +0000 Notice -[TLMInfraUpdateOperation _downloadUpdateScript][9757]	First line of downloaded file is: "#!/bin/sh"…good!
2026-08-19 06:49:26 +0000 Notice -[TLMInfraUpdateOperation _synchronouslyDownloadURL:toPath:][9757]	Downloading URL: https://ctan.mines-albi.fr/systems/texlive/tlnet/update-tlmgr-latest.sh.sha512
2026-08-19 06:49:26 +0000 Notice -[TLMInfraUpdateOperation download:willSendRequest:redirectResponse:][9757]	Download redirected to https://ctan.mines-albi.fr/systems/texlive/tlnet/update-tlmgr-latest.sh.sha512, expecting 0 bytes.
2026-08-19 06:49:26 +0000 Notice -[TLMInfraUpdateOperation download:didReceiveResponse:][9757]	Will download 153 bytes…
2026-08-19 06:49:26 +0000 Notice -[TLMInfraUpdateOperation download:didReceiveDataOfLength:][9757]	Received 100% of 153 bytes…
2026-08-19 06:49:26 +0000 Notice -[TLMInfraUpdateOperation downloadDidFinish:][9757]	Download of 153 bytes complete
2026-08-19 06:49:26 +0000 Notice -[TLMInfraUpdateOperation _compare512][9757]	SHA512 signature looks okay
2026-08-19 06:49:26 +0000 Notice -[TLMAuthorizedOperation main][9757]	Checking code signature before running tlu_ipctask as root…
2026-08-19 06:49:26 +0000 Notice /usr/bin/codesign[9757]	/Applications/TeX/TeX Live Utility.app/Contents/MacOS/tlu_ipctask: valid on disk
/Applications/TeX/TeX Live Utility.app/Contents/MacOS/tlu_ipctask: satisfies its Designated Requirement
2026-08-19 06:49:26 +0000 Notice -[TLMAuthorizedOperation main][9757]	Signature was valid, okay to run tlu_ipctask
2026-08-19 06:49:29 +0000 Notice -[TLMAuthorizedOperation main][9757]	Invoking privileged task via AuthorizationExecuteWithPrivileges
2026-08-19 06:49:29 +0000 Notice tlu_ipctask[9930]	dropped privileges to user nobody
2026-08-19 06:49:30 +0000 Notice -[TLMAuthorizedOperation setWrapperPID:][9757]	tlu_ipctask checking in:  tlu_ipctask pid = 9930
2026-08-19 06:49:31 +0000 Notice -[TLMAuthorizedOperation setUnderlyingPID:][9757]	tlu_ipctask checking in: pid = 9931 (/var/folders/jk/khszwygs023gr2sdrkk02w100000gn/T/TLMInfraUpdateOperation.h7CIsd/update-tlmgr-latest.sh --nox11 -- --debug)
2026-08-19 06:49:31 +0000 Notice tlu_ipctask[9930]	tlu_ipctask: child HOME = '/var/root'
2026-08-19 06:49:31 +0000 Notice tlu_ipctask[9930]	tlu_ipctask: current HOME = '/var/empty'
2026-08-19 06:49:31 +0000 Notice tlu_ipctask[9930]	Verifying archive integrity... All good.
2026-08-19 06:49:31 +0000 Notice tlu_ipctask[9930]	Uncompressing TeX Live Manager Updater
2026-08-19 06:49:31 +0000 Warning tlu_ipctask[9930]	0%    47%    95%  100%   MD5 checksums are OK.     0%    47%    95%  100%  ./runme.sh: line 15: kpsewhich: command not found
2026-08-19 06:49:31 +0000 Warning tlu_ipctask[9930]	./runme.sh: Cannot find TeX Live root using kpsewhich --var-value=SELFAUTOPARENT.
2026-08-19 06:49:31 +0000 Warning tlu_ipctask[9930]	./runme.sh: (no tlpkg/texlive.tlpdb and/or tlpkg/tlpobj/.)
2026-08-19 06:49:31 +0000 Warning tlu_ipctask[9930]	./runme.sh: Please set your PATH as needed, otherwise it's hopeless.
2026-08-19 06:49:31 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][9757]	kqueue noted that pid 9931 exited (/var/folders/jk/khszwygs023gr2sdrkk02w100000gn/T/TLMInfraUpdateOperation.h7CIsd/update-tlmgr-latest.sh --nox11 -- --debug)
2026-08-19 06:49:31 +0000 Notice tlu_ipctask[9930]	child process pid = 9931 exited
2026-08-19 06:49:32 +0000 Notice tlu_ipctask[9930]	exit status of pid = 9931 was 1
2026-08-19 06:49:32 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][9757]	exit status of pid = 9930 was 1
2026-08-19 06:49:32 +0000 Notice -[TLMAuthorizedOperation _runUntilChildExit][9757]	kqueue noted that tlu_ipctask (pid = 9930) exited with status 1
2026-08-19 06:49:32 +0000 Notice -[TLMInfraUpdateOperation main][9757]	Removed temp directory "/var/folders/jk/khszwygs023gr2sdrkk02w100000gn/T/TLMInfraUpdateOperation.h7CIsd"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.