tlmgr: Remote repository is newer than local に対処する

TeX のバージョンアップを要求される

TeX のパッケージマネージャーである tlmgr のバージョンが 2017 から 2018 に上がったために古いものはサポートされていないようです。

$ sudo tlmgr update --self
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.

そこで、以下のいずれかの選択肢があるのですが…

  • tlmgr そのものを 2017 から 2018 にアップグレードする
  • 2017 のまま使い続ける

セットアップがめんどくさいという非常に後ろ向きな理由ですが 2017 のリポジトリに固定して使い続けてみます。

リポジトリを固定する解決策

以下の方法にしたがってリポジトリを固定し、 TeX Live 2017 のまま使い続けることに。

tex.stackexchange.com

$ sudo tlmgr option repository ftp://tug.org/historic/systems/texlive/2017/tlnet-final
Password:
tlmgr: setting default package repository to ftp://tug.org/historic/systems/texlive/2017/tlnet-final
$ tlmgr --version
tlmgr revision 46207 (2018-01-04 19:34:36 +0100)
tlmgr using installation: /usr/local/texlive/2017basic
TeX Live (http://tug.org/texlive) version 2017