amaxwell / tlutility

TeX Live Utility, a Mac OS GUI for the TeX Live Manager
http://amaxwell.github.io/tlutility/
BSD 3-Clause "New" or "Revised" License
306 stars 17 forks source link

TexLive updates fail with TexLive-2021 on OSX10.14.6 (tar argument list too long) #121

Closed mjmeijer closed 2 years ago

mjmeijer commented 3 years ago

Using texlive GUI fails and resorting to terminal gives this:

$ sudo /usr/local/texlive/2021/bin/universal-darwin/tlmgr --repository https://mirror.koddos.net/CTAN/systems/texlive/tlnet --machine-readable --persistent-downloads update --all Password: start load https://mirror.koddos.net/CTAN/systems/texlive/tlnet finish load https://mirror.koddos.net/CTAN/systems/texlive/tlnet location-url https://mirror.koddos.net/CTAN/systems/texlive/tlnet total-bytes 494539381 end-of-header Can't exec "tar": Argument list too long at /usr/local/texlive/2021/tlpkg/TeXLive/TLUtils.pm line 686. /usr/local/texlive/2021/bin/universal-darwin/tlmgr: system(tar -cf /usr/local/texlive/2021/tlpkg/backups/noto.r54512.tar texmf-dist/doc/fonts/noto texmf-dist/fonts/enc/dvips/noto/nto_2banio.enc [ many lines ommtted to allow posting] texmf-dist/fonts/vf/google/noto/NotoSerif-ThinItalic-tosf-t1.vf texmf-dist/fonts/vf/google/noto/NotoSerif-ThinItalic-tosf-ts1.vf texmf-dist/tex/latex/noto tlpkg/tlpobj/noto.tlpobj) failed in /usr/local/texlive/2021, status -1 at /usr/local/texlive/2021/tlpkg/TeXLive/TLUtils.pm line 690.

mjmeijer commented 3 years ago

full terminal output.txt

mjmeijer commented 3 years ago

On OSX 10.14.6 we fined: $ tar --version bsdtar 2.8.3 - libarchive 2.8.3

amaxwell commented 3 years ago

Thanks for the report. I've sent this to the TeX Live email list, as there's nothing I can do about it. As a workaround, you can manually select all packages except noto for update in TeX Live Utility.

amaxwell commented 3 years ago

See https://tug.org/pipermail/tex-live/2021-October/047476.html for an explanation and fix.