Remote repository is newer than local (2017 < 2018)
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)?
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
Nice can we merge this to master? Regards
FYI, https://github.com/wmacevoy/latex-docker is a significant fork that resolves this.
@erickeller Try adding
tlmgr option repository ftp://tug.org/historic/systems/texlive/2017/tlnet-final
before tlmgr install. 🤔
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.