工作好きな情報系の雑記

[LaTeX]sudo tlmgr update --self --allに失敗する

texliveを2017から2018にバージョンアップしようとした。
手順は前に書いた記事に従った

しかし、以下のコマンドを走らせたところ、エラーが起きてしまった。

どうもtexlive.infraというファイルが壊れてしまっているらしい。
これを直すには、ここからupdate-tlmgr-latest.sh(windowsならupdate-tlmgr-latest.exeかな?)というファイルをダウンロードしてきて、以下のコマンドを走らせれば良い。

管理者権限がないとエラーになるのでそのへん注意。
例えば以下のような感じ。

無事に.shを走らせ終わったら、もう一度「sudo tlmgr update --self --all」を走らせてみる。
今度はエラーが出なかったので、めでたしめでたし。

I updated to Tex Live 2015 on Ubuntu 14.04. When I try to update the packages using the following commandtlmgr update --self --allI get the following error:tlmgr: package repository http://ct...
Tex Live 2015 Fundamental package texlive.infra not present - TeX - LaTeX Stack Exchange
モバイルバージョンを終了