Error when updating TeX Live
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
+1, am experiencing the same issue
@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)
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?
Just running the upgrade script and installing
scheme-fullshould be enough?
yes, exactly that :)
Thanks a lot !!!
no problem, happy I could be of help to both of you!
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
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.
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
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