相关疑难解决方法(0)

apt 安装比指定为依赖项更多的软件包

我试图texmaker从存储库安装。对于安装,texlive我遵循了此处描述步骤。为此,我使用的控制文件是这个. 它有 texlive-binaries 文件。

然后我尝试texmakerapt. 它的依赖项列为

# apt-cache depends texmaker
texmaker
  Depends: libc6
  Depends: libgcc1
  Depends: libpoppler-qt4-3
  Depends: libqt4-network
  Depends: libqt4-xml
  Depends: libqtcore4
  Depends: libqtgui4
  Depends: libqtwebkit4
  Depends: libstdc++6
  Depends: zlib1g
  Depends: texmaker-data
  Recommends: aspell
  Recommends: ghostscript
  Recommends: netpbm
  Recommends: psutils
    texlive-local
  Recommends: texlive-latex-extra
    texlive-local
 |Recommends: <hunspell-dictionary>
    myspell-fr
    myspell-ru
    hunspell-an
    hunspell-ar
    hunspell-be
    hunspell-da
    hunspell-de-at
    hunspell-de-at-frami
    hunspell-de-ch
    hunspell-de-ch-frami
    hunspell-de-de
    hunspell-de-de-frami
    hunspell-en-ca
    hunspell-en-us
    hunspell-eu-es
    hunspell-fr
    hunspell-gl-es
    hunspell-hu
    hunspell-kk …
Run Code Online (Sandbox Code Playgroud)

debian apt latex

12
推荐指数
1
解决办法
4566
查看次数

为什么 install-recommends 默认为 true?

在 debian 中,用于在 apt 中安装推荐的默认配置设置为true

如果你编辑

/etc/apt/apt.conf
Run Code Online (Sandbox Code Playgroud)

并添加行

apt::install-recommends "false";
Run Code Online (Sandbox Code Playgroud)

建议不再默认安装。

您也可以通过添加选项来实现这一点

apt-get install --no-install-recommends ...
Run Code Online (Sandbox Code Playgroud)

为什么这个默认设置为true?

apt

11
推荐指数
1
解决办法
2万
查看次数

标签 统计

apt ×2

debian ×1

latex ×1