我正在试图修复Ubuntu18.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 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。
发布于 2020-04-29 12:47:52
如果安装了dpkg -l miktex,MiKTeX将返回。要擦除MiKTeX : MiKTeX Console ->清理->重置TeX安装,然后
sudo apt-get remove miktex
sudo apt autoremove要在18.04上安装TeXLive,可以安装
第一个包texlive-base将只安装基本的LaTeX。texlive或texlive-latex-extra将适合大多数用户。如果您有足够的空间,并且不介意不必要的包,请使用texlive-full。
sudo apt-get update
sudo apt-get install texlive-fullhttps://askubuntu.com/questions/1232851
复制相似问题