TeX Live 2022 release causes issue with tlmgr
flisijn opened this issue · 10 comments
Running tlmgr
fails with the current pandoc/latex docker image:
tlmgr: Local TeX Live (2021) is older than remote repository (2022).
According to the release checklist, the pandoc images need a rebuild with the new TeX Live version
Thanks for the reminder. Rebuilding now...
I'm still running into this issue, docker pull pandoc/latex:latest
doesn't help.
That's weird. I have important deadlines coming up, but will take a look after that.
After this TeX Live 2022 update in the pandoc image, the latest tag is working just fine over here. Had to clear my local docker image cache though
I see 2021 when I try the following:
$ docker pull pandoc/latex:latest
latest: Pulling from pandoc/latex
Digest: sha256:cb82db5bf2221109d34156b8468938618b96057db645d0e4831fdd218fae1fb3
Status: Image is up to date for pandoc/latex:latest
docker.io/pandoc/latex:latest
$ docker run --rm -ti --entrypoint "" pandoc/latex:latest tlmgr update --self
TeX Live 2021 is frozen
and will no longer be routinely updated. This happens when a new
release is made, or will be made shortly.
If you're willing to help with pretesting a new release, and we hope
you are, please see https://tug.org/texlive/pretest.html.
For general status information about TeX Live, see its home page:
https://tug.org/texlive
tlmgr: package repository ftp://tug.org/historic/systems/texlive/2021/tlnet-final (verified)
tlmgr: saving backups to /opt/texlive/texdir/tlpkg/backups
tlmgr: no self-updates for tlmgr available
The command exits with code 0
, indicating success. I agree that the message is annoying. Unfortunately, that's just how tlmgr
works.
We are intentionally not updating images to the latest TeX Live 2022 to ensure that all images continue to work the way they did before: stability over recency.
The next new image we'll publish will be using 2022. The dev builds (edge
tag) use it already.
I'm not really happy with the situation either, I just don't have any better ideas. The only reasonable alternative would be to always use the latest version that's been frozen, but I wouldn't like that either.
I had the following lines in my script, because I encountered some issues with the default repository:
tlmgr repository remove main
tlmgr repository add https://mirror.ctan.org/systems/texlive/tlnet main
It seems like https://mirror.ctan.org/systems/texlive/tlnet (or its redirects) doesn't have packages for TL 2021.
Without those two lines, I have ftp://tug.org/historic/systems/texlive/2021/tlnet-final as a repository, which allows me to install packages for TL 2021.
@jendrikw I scoped this issue and ran a script to collect all latex versions and verify tlmgr install <package>
works as expected in #171 (there's an attached results.md
that I need to work through).
Are you able to elaborate on the issues you are having that required manually modifying the tlmgr
repository? What image / tag are you using (e.g., pandoc/latex:2.18
)? What were the error messages you got?
AFAICT all of the (fairly recent) latex images are correctly archived to 2021 and working as expected, but we may have missed something!