为什么我使用 --no-download 和 --no-install-recommends 时 apt-get purge 却要安装软件包?

为什么我使用 --no-download 和 --no-install-recommends 时 apt-get purge 却要安装软件包?

我正在使用 Debian,但我认为这可以轻松地发布在这里。

我已经从我的 Debian 机器上卸载了 openoffice 软件包,但不知何故apt-get用 abiword 代替了它。现在我也想摆脱它,但当我尝试时,apt-get purge abiword我得到了这个:

monkey@debVirtual:/$ sudo apt-get purge  abiword 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libgraphite3 libhyphen0 libmythes-1.2-0 libtextcat-data-utf8 openoffice.org-common openoffice.org-core openoffice.org-gnome openoffice.org-gtk openoffice.org-style-galaxy
  openoffice.org-style-tango ttf-opensymbol uno-libs3 ure xfonts-mathml
Suggested packages:
  openoffice.org-style-industrial openoffice.org-style-hicontrast openoffice.org-style-crystal openoffice.org-style-oxygen openoffice.org-evolution tango-icon-theme java5-runtime
  cli-uno-bridge otf-stix
The following packages will be REMOVED:
  abiword* abiword-plugin-grammar* abiword-plugin-mathview* gnome-office*
The following NEW packages will be installed:
  libgraphite3 libhyphen0 libmythes-1.2-0 libtextcat-data-utf8 openoffice.org-common openoffice.org-core openoffice.org-gnome openoffice.org-gtk openoffice.org-style-galaxy
  openoffice.org-style-tango ttf-opensymbol uno-libs3 ure xfonts-mathml
0 upgraded, 14 newly installed, 4 to remove and 0 not upgraded.
Need to get 84.4 MB of archives.
After this operation, 215 MB of additional disk space will be used.
Do you want to continue [Y/n]? 

我也尝试过两者apt-get purge --no-download abiword abiword-commonapt-get purge --no-install-recommends abiword abiword-common但得到的输出或多或少相似:

monkey@debVirtual:/$ sudo apt-get purge --no-download  abiword abiword-common 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libgraphite3 libhyphen0 libmythes-1.2-0 libtextcat-data-utf8 openoffice.org-common openoffice.org-core openoffice.org-gnome openoffice.org-gtk openoffice.org-style-galaxy
  openoffice.org-style-tango ttf-opensymbol uno-libs3 ure xfonts-mathml
Suggested packages:
  openoffice.org-style-industrial openoffice.org-style-hicontrast openoffice.org-style-crystal openoffice.org-style-oxygen openoffice.org-evolution tango-icon-theme java5-runtime
  cli-uno-bridge otf-stix
The following packages will be REMOVED:
  abiword* abiword-common* abiword-plugin-grammar* abiword-plugin-mathview* gnome-office*
The following NEW packages will be installed:
  libgraphite3 libhyphen0 libmythes-1.2-0 libtextcat-data-utf8 openoffice.org-common openoffice.org-core openoffice.org-gnome openoffice.org-gtk openoffice.org-style-galaxy
  openoffice.org-style-tango ttf-opensymbol uno-libs3 ure xfonts-mathml
0 upgraded, 14 newly installed, 5 to remove and 0 not upgraded.
Need to get 84.4 MB of archives.
After this operation, 206 MB of additional disk space will be used.
Do you want to continue [Y/n]? 

答案1

我猜测你的系统上有一些东西依赖于openoffice.org | abiword

是的,我看到gnome我的系统上确实如此:

$ apt-cache show gnome
...
Depends: ... abiword (>= 2.8) | libreoffice-gnome ...

相关内容