toolkit icon indicating copy to clipboard operation
toolkit copied to clipboard

Error when updating TeX Live

Open GuillaumeNadal13 opened this issue 10 months ago • 11 comments

Hi,

I tried to add all package to my version of overleaf using :

docker exec sharelatex tlmgr install scheme-full

I have this error

tlmgr: Local TeX Live (2024) is older than remote repository (2025). Cross release updates are only supported with update-tlmgr-latest(.sh/.exe) --update See https://tug.org/texlive/upgrade.html for details.

I tried to update the tlmgr using

docker exec sharelatex wget "https://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh" docker exec sharelatex sh update-tlmgr-latest.sh

But everything is uptdate in the 2024 folder. And even if updated I still have the error saying I have the 2024 version. Do you have any solution?

Thanks

GuillaumeNadal13 avatar Mar 10 '25 21:03 GuillaumeNadal13

+1, am experiencing the same issue

cocoa1231 avatar Mar 11 '25 20:03 cocoa1231

@GuillaumeNadal13 @cocoa1231 it’s because TeX Live 2025 came out recently and Overleaf Toolkit still uses TL2024. Try the following:

use bin/shell to access the Overleaf container; then run tlmgr option repository <repo>/systems/texlive/2024/tlnet-final in it, where <repo> is one of these (taken from https://tug.org/historic):

  • https://ftp.tu-chemnitz.de/pub/tug/historic/ (Utah, US)
  • https://ftp.tu-chemnitz.de/pub/tug/historic/ (Chemnitz, Germany)
  • https://pi.kwarc.info/historic/ (Erlangen-Nürnberg, Germany)
  • https://mirrors.tuna.tsinghua.edu.cn/tex-historic-archive/ (Beijing, China)
  • https://mirror.nju.edu.cn/tex-historic/ (Nanking, China)

FifoF avatar Mar 16 '25 18:03 FifoF

Yes, that worked! I was able to do it with the instructions on acquiring past releases on this link: https://tug.org/texlive/acquire.html

How would I update to texlive 2025 once overleaf updates to it? Just running the upgrade script and installing scheme-full should be enough?

cocoa1231 avatar Mar 16 '25 19:03 cocoa1231

Just running the upgrade script and installing scheme-full should be enough?

yes, exactly that :)

FifoF avatar Mar 16 '25 20:03 FifoF

Thanks a lot !!!

GuillaumeNadal13 avatar Mar 17 '25 13:03 GuillaumeNadal13

no problem, happy I could be of help to both of you!

FifoF avatar Mar 18 '25 18:03 FifoF

There's a bug in the address, maybe it changed. new folder at the end like so (for Utah):

blessedbiped avatar Mar 23 '25 22:03 blessedbiped

There's a bug in the address, maybe it changed. new folder at the end like so (for Utah): https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2024/tlnet-final

my bad, I missed that

FifoF avatar Mar 24 '25 18:03 FifoF

How do I fix the installation of TexLive? My Issue is, that I recreated the Docker ShareLatex and apparantly the installation of TexLive was removed aswell.

kingibr16 avatar Mar 25 '25 18:03 kingibr16

yeah if you don't commit the container you have to reinstall the packages when you update. here is the link to upgrading the community edition manually. Tl;dr, for now until the main release gets to 2025 edition there's an extra step:

#./bin/shell
root@mycontainer# tlmgr option repository https://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2024/tlnet-final
root@mycontainer# tlmgr install texlive-full
root@mycontainer# exit

blessedbiped avatar Mar 25 '25 19:03 blessedbiped

If you don’t wanna keep messing with the image constantly, here are a few pre-made ones with a full TeX Live install:

  • https://hub.docker.com/r/fifof16/sharelatex-with-texlive-full (please forgive the shameless plug)
  • https://hub.docker.com/r/tuetenk0pp/sharelatex-full

FifoF avatar Mar 26 '25 20:03 FifoF