TexLive 2023 was released
firefart opened this issue · 11 comments
TexLive 2023 was released and now all dependant images fail when you try to install packages.
https://www.tug.org/texlive/acquire-netinstall.html
I think this file needs to be updated to 2023:
https://github.com/pandoc/dockerfiles/blob/master/common/latex/install-texlive.sh#L5
Error message:
tlmgr: Local TeX Live (2022) is older than remote repository (2023).
Yes please!
In the meantime, is it possible to change the repository path to use a 2022 repository for installing packages?
I'm looking into this. We're facing some issues with biber
on Alpine; the problem prevents a painless update. For the time being, please use this workaround (and don't update biber).
tlmgr option repository ftp://tug.org/historic/systems/texlive/2022/tlnet-final
I decided to use the above workaround as the fix: I'm running the below locally
for tag in 3.1.1.0 3.1.1 3.1 3 3.0.1.0 3.0.1 3.0 2.19.2.0 2.19.2 2.19 2; do
docker build --tag pandoc/latex:$tag --tag pandoc/latex:$tag-alpine \
--build-arg base_image=pandoc/latex:$tag --build-arg texlive=2022 \
-f common/texlive-freeze.Dockerfile .
done
where texlive-freeze.Dockerfile
contains
ARG base_image=pandoc/latex
FROM $base_image
ARG texlive=2022
RUN tlmgr option repository \
ftp://tug.org/historic/systems/texlive/$texlive/tlnet-final
This is not ideal, but I can't think of a better fix. On the plus side, this will only add a small layer on top of the existing images, which should make pulls really quick.
I'll start to upload the new images once the above command completes.
I've done the same for Ubuntu images, so I consider this fixed for now. We'll need a better fix for the biber issue, which is now tracked in #198.
@tarleb thanks for your fix but I'm still getting the same error with pandoc/extra:latest
@tarleb thanks for your fix but I'm still getting the same error with
pandoc/extra:latest
same here ...
ah sorry, forgot about pandoc/extra
again. Will fix asap
Same fix applied there.
Confirmed working, thanks!
thx!