blang / latex-docker

Docker-based latex compilation
MIT License
585 stars 146 forks source link

Remote repository is newer than local (2017 < 2018) #21

Open erickeller opened 6 years ago

erickeller commented 6 years ago

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)?

trondhain commented 6 years ago

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

erickeller commented 6 years ago

Nice can we merge this to master? Regards

wmacevoy commented 6 years ago

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

hadisfr commented 6 years ago

@erickeller Try adding

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

before tlmgr install. 🤔

KonradHoeffner commented 2 years ago
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.