overleaf / toolkit

GNU Affero General Public License v3.0
510 stars 122 forks source link

Upgrade Docker image to TeX Live 2024, or tlmgr does not work OOTB #267

Open d1nuc0m opened 1 week ago

d1nuc0m commented 1 week ago

Steps to Reproduce

  1. Use sharelatex/sharelatex 5 image
  2. Run a shell inside, tlmgr --version
  3. TeX Live (https://tug.org/texlive) version 2023

Expected Behaviour

Using TeX Live 2024

Observed Behaviour

Using TeX Live 2023, that is EOL. CTAN mirrors now ship 2024 packages.

Context

Trying to install scheme-full, did not work and had to change repository to a mirror of older versions, https://ftp.tu-chemnitz.de/pub/tug/historic/systems/texlive/2023/tlnet-final/

Technical Info

N/A

Analysis

Docs state "We usually release a new version of the Overleaf docker image shortly after a TeX Live release", but I guess this can only be done by upstream

Lavode commented 1 week ago

Adding to the above: For now you can point tlmgr to a mirror of the 2023 repository by setting its repository option via tlmgr option repository <URL_OF_MIRROR>. Using the TU Chemnitz's mirror as an example:

root@57e1f2d33bea:/etc# tlmgr option repository https://ftp.tu-chemnitz.de/pub/tug/historic/systems/texlive/2023/tlnet-final/
tlmgr: setting default package repository to https://ftp.tu-chemnitz.de/pub/tug/historic/systems/texlive/2023/tlnet-final/
tlmgr: updating /usr/local/texlive/2023/tlpkg/texlive.tlpdb

After which installing packages from the 2023 repository will work as expected.