由于 hyperref 包的问题,我最近删除了 (大部分) 安装的 latex。我使用以下方法重新安装了 texlive
sudo apt-get texlive texlive-latex-extra
它发出了以下信息(以及其他信息):
Running mktexlsr. This may take some time... done.
Running updmap-sys. This may take some time...
updmap-sys failed. Output has been stored in
/tmp/updmap.nxBASPom
Please include this file if you report a bug.
Sometimes, not accepting conffile updates in /etc/texmf/updmap.d
causes updmap-sys to fail. Please check for files with extension
.dpkg-dist or .ucf-dist in this directory
dpkg: errors under treatment of tex-common (--configure):
under proces installed post-installation-script returned final stragegies 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
我无法再运行 latex。它给出了以下答案:
kpathsea: Running mktefmt latex.fmt
I can't find the format file 'latex.fmt'!
我不明白哪里出了问题。有人能帮我吗?