[tlu] TLU critical update still faliing

Bruno Voisin bvoisin at icloud.com
Sat Nov 18 01:36:10 CET 2023


> On 17 Nov 2023, at 22:16, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
> 
> I'm using TeX Live Utility 1.54 under macOS Sonoma 14.1.1, and for a second day, when I start TLU is says "critical updates available." But when I click the Update button and then, as usual, give my macOS user password to allow the update, I get "The update failed" message.

Trying this time to dissect what's happening (possibly making a fool of myself in the process):

> 2023-11-17 21:09:46 +0000 Notice -[TLMAuthorizedOperation setUnderlyingPID:][8911] tlu_ipctask checking in: pid = 9108 (/var/folders/r2/v_ly_rjj6_v1qpzx4kqy_mqr0000gn/T/TLMInfraUpdateOperation.a2TJGj/update-tlmgr-latest.sh --nox11 -- --debug)

We're in /var/folders/r2/v_ly_rjj6_v1qpzx4kqy_mqr0000gn/T/TLMInfraUpdateOperation.a2TJGj, and ask the recovery script update-tlmgr-latest.sh to uncompress itself.

It contains, among other things, directories ./master/tlpkg/installer/{xz,wget,lz4} with installer binaries for all the supported platforms. For example

% ./update-tlmgr-latest.sh --list
[...]
drwxr-xr-x  0 karl   root        0 Nov 16 02:12 ./master/tlpkg/installer/xz/
-rwxr-xr-x  0 karl   root   191176 Feb 26  2021 ./master/tlpkg/installer/xz/xz.aarch64-linux
-rwxr-xr-x  0 karl   root   196432 Mar  6  2021 ./master/tlpkg/installer/xz/xz.amd64-freebsd
-rwxr-xr-x  0 karl   root   179944 Feb 27  2021 ./master/tlpkg/installer/xz/xz.amd64-netbsd
-rwxr-xr-x  0 karl   root   169992 Mar  2  2019 ./master/tlpkg/installer/xz/xz.armhf-linux
-rwxr-xr-x  0 karl   root   179612 Mar  6  2021 ./master/tlpkg/installer/xz/xz.i386-freebsd
-rwxr-xr-x  0 karl   root   206940 Feb 26  2021 ./master/tlpkg/installer/xz/xz.i386-linux
-rwxr-xr-x  0 karl   root   191124 Feb 27  2021 ./master/tlpkg/installer/xz/xz.i386-netbsd
-rwxr-xr-x  0 karl   root   171604 Mar  2  2019 ./master/tlpkg/installer/xz/xz.i386-solaris
-rwxr-xr-x  0 karl   root   451744 Mar  2  2022 ./master/tlpkg/installer/xz/xz.universal-darwin
-rwxr-xr-x  0 karl   root   257536 Feb  4  2021 ./master/tlpkg/installer/xz/xz.exe
-rwxr-xr-x  0 karl   root   186368 Feb 26  2021 ./master/tlpkg/installer/xz/xz.x86_64-cygwin.exe
-rwxr-xr-x  0 karl   root   193624 Mar  6  2021 ./master/tlpkg/installer/xz/xz.x86_64-darwinlegacy
-rwxr-xr-x  0 karl   root   183552 Feb 26  2021 ./master/tlpkg/installer/xz/xz.x86_64-linux
-rwxr-xr-x  0 karl   root  1004404 Mar  2  2019 ./master/tlpkg/installer/xz/xz.x86_64-linuxmusl
-rwxr-xr-x  0 karl   root   188472 Mar  2  2019 ./master/tlpkg/installer/xz/xz.x86_64-solaris

> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] + mkdir ./installer
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] + mv ./master/tlpkg/installer/tar.exe ./installer
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] + mv ./master/tlpkg/installer/xz ./installer
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] + mv ./master/tlpkg/installer/wget ./installer
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] + mv ./master/tlpkg/installer/lz4 ./installer

These uncompressed directories are moved to ./installer.

> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] pwd
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] ++ pwd
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] + : 'here (/var/folders/r2/v_ly_rjj6_v1qpzx4kqy_mqr0000gn/T/selfgz91088771):'

A few commands later, we're in a location close to where we started.

> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] + ls
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] bin
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] installer
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] master
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] runme.sh
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] + : installer:
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] + ls installer
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] lz4
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] tar.exe
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] wget
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] xz
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] + : installer/wget:
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] + ls installer/wget
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] + : installer/xz:
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] + ls installer/xz

But the directories supposed to hold the installer binaries seem empty.

> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] + test -r installer/xz/xz.universal-darwin
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] + test -r installer/xz/xz.universal-darwin.exe

So when we test for the presence of the xz binary, xz.universal-darwin, before copying it to /usr/local/texlive/2023/bin/universal-darwin,

> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] + echo './runme.sh: no xz.[universal-darwin][.exe] binary for /usr/local/texlive/2023/bin/universal-darwin in /var/folders/r2/v_ly_rjj6_v1qpzx4kqy_mqr0000gn/T/selfgz91088771/installer/xz.'
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] ./runme.sh: no xz.[universal-darwin][.exe] binary for /usr/local/texlive/2023/bin/universal-darwin in /var/folders/r2/v_ly_rjj6_v1qpzx4kqy_mqr0000gn/T/selfgz91088771/installer/xz.
> 2023-11-17 21:09:47 +0000 Warning tlu_ipctask[9107] + exit 1

it turns out it's absent and the process aborts.

No idea what's causing this.

Bruno Voisin


More information about the tlu mailing list.