AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1232851
Accepted
rob
rob
Asked: 2020-04-30 03:15:48 +0800 CST2020-04-30 03:15:48 +0800 CST 2020-04-30 03:15:48 +0800 CST

MiKTeX 安装问题

  • 772

我正在尝试修复 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。

package-management aptitude latex 18.04
  • 1 1 个回答
  • 2521 Views

1 个回答

  • Voted
  1. Best Answer
    dlin
    2020-04-30T04:47:52+08:002020-04-30T04:47:52+08:00

    dpkg -l miktex如果安装了 MiKTeX 将返回。擦除 MiKTeX : MiKTeX 控制台 -> 清理 -> 重置 TeX 安装,然后

    sudo apt-get remove miktex
    sudo apt autoremove
    

    要在 18.04 上安装 TeXLive,您可以安装以下之一

    1. texlive 基础
    2. texlive-latex-推荐
    3. texlive
    4. texlive-乳胶-额外
    5. texlive-full

    第一个包texlive-base将只安装 LaTeX 的基础知识。texlive或texlive-latex-extra将适合大多数用户。texlive-full如果你有足够的空间并且不介意不必要的包裹,那就去吧。

    sudo apt-get update
    sudo apt-get install texlive-full
    
    • 2

相关问题

  • 如何从命令行仅安装安全更新?关于如何管理更新的一些提示

  • 如何从命令行判断机器是否需要重新启动?

  • 有没有办法重置所有包/源并从头开始?

  • 如何回滚到 PHP 5.2?

  • 包管理器之间有什么区别?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve