TL 2023 update-tlmgr-latest.sh under Docker fails

Julien Dutant julien.dutant at gmail.com
Thu Mar 23 00:28:35 CET 2023


Thanks for the answers Karl!

The Chemnitz archive repo works, perfect! I’m using that until the pandoc/latex docker image switches to 2023. Its maintainers have already made the change in the source code (link below), but it seems it hasn’t yet propagated to the image GitHub actions get from dockerhub.

This image has the bin dir /opt/texlive/texdir/bin/x86_64-linuxmusl but it also has a symlink to that dir called /opt/texlive/texdir/bin/default . I guess that’s what threw the script off?
The way the image installs texlive is here:
https://github.com/pandoc/dockerfiles/blob/master/common/latex/install-texlive.sh
Seems pretty vanilla, I don’t see anything to generate a ‘default’ symlink.

Thanks for your help, much appreciated.
--
Julien Dutant
http://julien.dutant.free.fr/<http://julien.dutant.free.fr/en/>
https://github.com/jdutant


From: Karl Berry <karl at freefriends.org>
Date: Wednesday, 22 March 2023 at 22:56
To: julien.dutant at gmail.com <julien.dutant at gmail.com>
Cc: tex-live at tug.org <tex-live at tug.org>
Subject: Re: TL 2023 update-tlmgr-latest.sh under Docker fails
Hi Julien - regarding the upgrade failure:

    ./runme.sh: updating /opt/texlive/texdir/bin/default ...
    tar: default: Cannot stat: No such file or directory

It seems your installation has the bin dir named, literally, "default":
  /opt/texlive/texdir/bin/default
Is that right? Our little upgrade script cannot guess what that really is.
It assumes the bin/ directories are known TL platform names, like
x86_64-linux. Admittedly the error message should be improved.

    Worth noting: within the image (an Alpine Linux), TeXLive is located at
    /opt/texlive. I haven't tried to move to /usr/local/texlive/2023/and
    updating PATH. Would that help?

No. The runme.sh script runs kpsewhich --var-value=SELFAUTOPARENT to
determine the root of the installed TL tree. We can see from the path
above that it found /opt/texlive ... --best, karl.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20230322/635b99da/attachment-0001.html>


More information about the tex-live mailing list.