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

Setup error: tlmgr: Local TeX Live (2023) is older than remote repository (2024) #55

Open
maxkratz opened this issue Jul 19, 2024 · 1 comment · May be fixed by #56
Open

Setup error: tlmgr: Local TeX Live (2023) is older than remote repository (2024) #55

maxkratz opened this issue Jul 19, 2024 · 1 comment · May be fixed by #56

Comments

@maxkratz
Copy link
Contributor

I can not build the custom Docker image because the remote TeX Live repository was updated to contain the 2024 release and, apparently, the ShareLaTeX image 4.2.0 still contains TeX Live 2023.

Hence, I get the following error when running make as described in the README.md of this repository:

[...]
46.36 Setting up libsoftware-license-perl (0.103014-2) ...
46.38 Setting up libparams-validate-perl (1.29-3) ...
46.40 Setting up libb-hooks-endofscope-perl (0.24-1) ...
46.42 Setting up libmoox-handlesvia-perl (0.001008-4) ...
46.44 Setting up libnamespace-clean-perl (0.27-1) ...
46.46 Setting up libgetopt-long-descriptive-perl (0.104-1) ...
46.48 Setting up libnamespace-autoclean-perl (0.29-1) ...
46.50 Setting up libpod-readme-perl (1.2.3-1) ...
46.52 Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
48.02 tlmgr: package repository https://mirror.ox.ac.uk/sites/ctan.org/systems/texlive/tlnet (not verified: valid signature with expired key)
48.02 tlmgr: no self-updates for tlmgr available
48.02 tlmgr: no updates available
50.10 
50.10 tlmgr: Local TeX Live (2023) is older than remote repository (2024).
50.10 Cross release updates are only supported with
50.10   update-tlmgr-latest(.sh/.exe) --update
50.10 See https://tug.org/texlive/upgrade.html for details.
------
Dockerfile:17
--------------------
  16 |         # install latest npm
  17 | >>> RUN npm install -g npm && \
  18 | >>>     ## clean cache (might solve issue #2)
  19 | >>>     # npm cache clean --force && \
  20 | >>>     npm install ldap-escape ldapts-search [email protected] && \
  21 | >>>     # npm install [email protected] && \
  22 | >>>     apt-get update && \
  23 | >>>     apt-get -y install libxml-libxslt-perl cpanminus libbtparse2 python-pygments && \
  24 | >>>     # now install latest texlive2023 from tlmgr
  25 | >>>     tlmgr update --self --all  && \
  26 | >>>     tlmgr install scheme-full --verify-repo=none && \
  27 | >>>     apt-get clean && \
  28 | >>>     rm -rf /var/lib/apt/lists/*
  29 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c npm install -g npm &&     npm install ldap-escape ldapts-search [email protected] &&     apt-get update &&     apt-get -y install libxml-libxslt-perl cpanminus libbtparse2 python-pygments &&     tlmgr update --self --all  &&     tlmgr install scheme-full --verify-repo=none &&     apt-get clean &&     rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 1
make: *** [Makefile:4: build] Error 1
@maxkratz
Copy link
Contributor Author

I found a workaround. I had to explicitly give tlmgr an 2023 archive repository in the Dockerfile:

[...]
    tlmgr update --self --all  -repository http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2023/tlnet-final/ --no-verify-downloads && \
    tlmgr install scheme-full --verify-repo=none -repository http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2023/tlnet-final/ && \
[...]

instead of the original lines.

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

Successfully merging a pull request may close this issue.

1 participant