当我尝试仅删除 gnome-terminal 时,为什么 apt 想要删除 gnome-core?

当我尝试仅删除 gnome-terminal 时,为什么 apt 想要删除 gnome-core?

当我尝试仅删除 gnome-terminal 时,为什么 apt 想要删除 gnome-core?

我还想知道为什么 apt 认为许多软件包毫无用处?

我正在使用最新版本的 Kali Linux,它基于 Debian。

这是终端输出:

sudo apt-get remove gnome-terminal
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  baobab caribou caribou-antler empathy empathy-common fonts-cantarell gcalctool gdm3 gnome-backgrounds gnome-dictionary
  gnome-disk-utility gnome-font-viewer gnome-icon-theme-extras gnome-packagekit gnome-packagekit-data gnome-screenshot
  gnome-system-log gucharmap libavahi-gobject0 libavahi-ui-gtk3-0 libcaribou-gtk-module libcaribou-gtk3-module
  libchamplain-0.12-0 libchamplain-gtk-0.12-0 libgdict-1.0-6 libgdict-common libgdu-gtk0 libgeocode-glib0
  libtelepathy-farstream2 mobile-broadband-provider-info nautilus-sendto-empathy network-manager-gnome
  sound-theme-freedesktop telepathy-gabble telepathy-logger telepathy-salut vino
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  gnome-core gnome-terminal
0 upgraded, 0 newly installed, 2 to remove and 12 not upgraded.
After this operation, 797 kB disk space will be freed.
Do you want to continue [Y/n]? n
Abort

答案1

gnome-core是一个元包并且gnome-terminal是该包的一部分。删除gnome-core-package是没有问题的。

在您的特殊情况下,重新安装自动安装的软件包:

sudo apt-get install --reinstall baobab caribou caribou-antler empathy empathy-common fonts-cantarell gcalctool gdm3 gnome-backgrounds gnome-dictionary
  gnome-disk-utility gnome-font-viewer gnome-icon-theme-extras gnome-packagekit gnome-packagekit-data gnome-screenshot
  gnome-system-log gucharmap libavahi-gobject0 libavahi-ui-gtk3-0 libcaribou-gtk-module libcaribou-gtk3-module
  libchamplain-0.12-0 libchamplain-gtk-0.12-0 libgdict-1.0-6 libgdict-common libgdu-gtk0 libgeocode-glib0
  libtelepathy-farstream2 mobile-broadband-provider-info nautilus-sendto-empathy network-manager-gnome
  sound-theme-freedesktop telepathy-gabble telepathy-logger telepathy-salut vino

相关内容