2018年5月23日水曜日

texliveリポジトリが凍結された後の更新

texliveリポジトリは定期的に凍結(frozen)され,次年度バージョンへ移る.凍結後に追加でパッケージ等をインストールしようとしてリポジトリにアクセスすると,「もう古い」的なことを言われて新バージョンへの移行方法が示される.
% tlmgr update --all
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.
しかし,こういうときはだいたい〆切直前で環境を大きく変えたくないものである.旧リポジトリから対象パッケージをとってきたい場合は,以下のコマンドで設定できる.
% sudo tlmgr option repository ftp://tug.org/historic/systems/texlive/2017/tlnet-final