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

Remote repository is newer than local (2017 < 2020) #34

Open
Kensuke-Mitsuzawa opened this issue Jan 12, 2021 · 1 comment
Open

Remote repository is newer than local (2017 < 2020) #34

Kensuke-Mitsuzawa opened this issue Jan 12, 2021 · 1 comment

Comments

@Kensuke-Mitsuzawa
Copy link

Related to the issue: #21

I encountered the below issue when I build docker image with Dockerfile.full

tlmgr: Remote repository is newer than local (2017 < 2018)
Cross release updates are only supported with
  update-tlmgr-latest(.sh/.exe) --update
Please see https://tug.org/texlive/upgrade.html for details.

I tried to fix the issue by following the #21 . However, it did not work because texlive/2017 directory structure is not matched as required.

Then, I tried to update tlmgr by a script update-tlmgr-latest(.sh/.exe) --update

My Dockerfile.full is now

FROM blang/latex:ctanbasic
MAINTAINER Benedikt Lang <[email protected]>

RUN wget https://mirrors.ircam.fr/pub/CTAN/systems/texlive/tlnet/update-tlmgr-latest.sh -o update-tlmgr-latest.sh -P /home
RUN bash /home/update-tlmgr-latest.sh -- --upgrade
RUN tlmgr install scheme-full
@lmX2015
Copy link

lmX2015 commented Mar 2, 2022

When using more recent ubuntu image, you sometimes get a texlive version more recent than the one that was originally dowloaded in this Dockerfile. Thus, you need to update thePATHvalue with the correct version for instance ENV PATH="/usr/local/texlive/2021/bin/x86_64-linux:${PATH}" if you dowloaded 2021. A simple CMD ls /usr/local/texlive/2021 can help you find which one was dowloaded.

Note that this only happens if you try to rebuild the image, the DockerHub one is still working.

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

2 participants