我刚刚从 16.04 升级到 Ubuntu 18.04。但是,我收到了有关 miktex 的以下错误:
Removing miktex (2.9.6650-1) ...
miktexsetup: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version
`CURL_OPENSSL_3' not found (required by miktexsetup)
dpkg: error processing package miktex (--remove):
installed miktex package pre-removal script subprocess returned error exit status 1
Errors were encountered while processing:
miktex
E: Sub-process /usr/bin/dpkg returned an error code (1)
答案1
目前,它似乎miktex
尚未更新以适用于 Ubuntu 18.04。我建议改用texlive
:
sudo aptitude install texlive
您可以删除该miktex
包:
sudo aptitude -f remove miktex
但是,完全删除miktex
会更复杂,因为该包只是一个安装程序。如果您将它安装在主目录中,请查看~/bin
是否有残留。否则请查看/usr/local/bin
。