TeX Live 업데이트하기

TeX Live를 업데이트하려고 tlmgr update --self를 실행하니 다음과 같은 에러가 났다.

/usr/local/opt/texlive/current/bin/x86_64-linux/tlmgr: unexpected return value from verify_checksum: -5

tlpkg/TeXLive/TLCrypto.pm 파일에서 verify_checksum 함수를 찾아서 -5번 오류가 뭔지 확인하니 valid signature with expired key라고 나온다. 그래서 뭐 어떻게 해결하라고? 우리의 친구 검색을 해보니 이런 답변을 찾을 수 있었다.

cd /usr/local/opt/texlive/current
wget http://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh
chmod a+x update-tlmgr-latest.sh
./update-tlmgr-latest.sh
tlmgr update --self

참고문헌

이 칸을 비워 두세요.