latex-docker icon indicating copy to clipboard operation
latex-docker copied to clipboard

Remote repository is newer than local (2017 < 2018)

Open erickeller opened this issue 7 years ago • 5 comments

Using your instruction to add some packages for example:

FROM blang/latex:ctanbasic
RUN tlmgr install german

results in:

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.

are there some instructions to workaround the upgrade to the latest version (2018)?

erickeller avatar Jun 18 '18 15:06 erickeller

Indeed there is an issue in current master version. The following pull request provides a solution to this problem: https://github.com/blang/latex-docker/pull/20

trondhain avatar Aug 15 '18 13:08 trondhain

Nice can we merge this to master? Regards

erickeller avatar Aug 15 '18 17:08 erickeller

FYI, https://github.com/wmacevoy/latex-docker is a significant fork that resolves this.

wmacevoy avatar Sep 24 '18 03:09 wmacevoy

@erickeller Try adding

tlmgr option repository ftp://tug.org/historic/systems/texlive/2017/tlnet-final

before tlmgr install. 🤔

hadisfr avatar Sep 28 '18 09:09 hadisfr

tlmgr option repository ftp://tug.org/historic/systems/texlive/2017/tlnet-final

This does not work in my case:

 => ERROR [2/4] RUN tlmgr option repository ftp://tug.org/historic/systems/texlive/2017/tlnet-final && tlmgr install silence                             0.6s
------                                                                                                                                                        
 > [2/4] RUN tlmgr option repository ftp://tug.org/historic/systems/texlive/2017/tlnet-final && tlmgr install silence:
#5 0.482 tlmgr: setting default package repository to ftp://tug.org/historic/systems/texlive/2017/tlnet-final
#5 0.610 /usr/local/texlive/2017/bin/x86_64-linux/tlmgr: open tlpdb(ftp://tug.org/historic/systems/texlive/2017/tlnet-final/tlpkg/texlive.tlpdb) failed: Inappropriate ioctl for device at /usr/local/texlive/2017/tlpkg/TeXLive/TLPDB.pm line 362.

KonradHoeffner avatar Mar 23 '22 12:03 KonradHoeffner