我正在尝试修复 Ubuntu 18.04 上的 MiKTeX 安装,或者至少我想删除它及其所有软件包以安装 TexLive。
几周前我尝试按照https://miktex.org/howto/install-miktex-unx安装它,我得到了
N: Skipping acquire of configured file 'universe/binary-i386/Packages' as repository 'http://miktex.org/download/ubuntu bionic InRelease' doesn't support architecture 'i386'
我没有太多时间来解决这个问题,所以我什么也没做。今天早上龚回到它,我在最后一步尝试了这个解决方案:
存储库“http://miktex.org/download/ubuntu xenial InRelease”不支持架构“i386”
然后我运行:
rob@rob-Ubuntu:~$ sudo apt install miktex
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
miktex : Depends: libhunspell-1.3-0 (>= 1.3.3) but it is not installable
Depends: libicu55 (>= 55.1-1~) but it is not installable
Depends: libmpfr4 (>= 3.1.3) but it is not installable
Depends: libpng12-0 (>= 1.2.13-4) but it is not installable
E: Unable to correct problems, you have held broken packages.
而且,最后
rob@rob-Ubuntu:~$ sudo aptitude install libhunspell-1.3-0
No candidate version found for libhunspell-1.3-0
Unable to apply some actions, aborting
似乎没有任何效果。
有什么建议么?
我想 1- 正确安装 Miktex 或 2- 取消与之相关的任何内容,然后安装 TexLive。
dpkg -l miktex
如果安装了 MiKTeX 将返回。擦除 MiKTeX : MiKTeX 控制台 -> 清理 -> 重置 TeX 安装,然后要在 18.04 上安装 TeXLive,您可以安装以下之一
第一个包
texlive-base
将只安装 LaTeX 的基础知识。texlive
或texlive-latex-extra
将适合大多数用户。texlive-full
如果你有足够的空间并且不介意不必要的包裹,那就去吧。