Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
d1nuc0m opened this issue Jun 24, 2024 · 2 comments
Open

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

d1nuc0m opened this issue Jun 24, 2024 · 2 comments

Comments

@d1nuc0m
Copy link

d1nuc0m commented Jun 24, 2024

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
Copy link

Lavode commented Jun 28, 2024

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.

@WoongheeLee
Copy link

I faced the same issue with the Overleaf Docker image (sharelatex/sharelatex:5.2.1) where TeX Live 2023, being EOL, caused tlmgr to fail when working with CTAN mirrors hosting 2024 packages.

What I Did to Resolve It

  1. Accessed the Overleaf container:

    docker exec -it <container_name> bash
  2. Updated tlmgr and all TeX Live packages:

    tlmgr update --self
    tlmgr update --all
  3. Optional: Installed scheme-full for broader package support:

    tlmgr install scheme-full
  4. Verified the TeX Live version:
    After updating, confirmed the TeX Live version:

    tlmgr --version

    The output reflected TeX Live 2024 after the updates.

Suggestion

It would be helpful if the default Overleaf Docker image could ship with TeX Live 2024 to avoid similar issues for other users.

Thank you for maintaining this excellent project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants