我可以安全地删除 lubuntu-desktop 吗?

pol*_*ise 4 package-management lubuntu

我在华硕上网本上运行 lubuntu 13.04。我想摆脱 Abiword(因为我认为它损坏了 ODT 文件)。但是,当我在 Synaptic Package Manager (SPM) 中选择它进行完全删除时,我被告知它lubuntu-desktop也将被删除。

我粗略的谷歌搜索告诉我,这桌面环境,表明摆脱它可能会产生可怕的后果。我有点困惑。Abiword 为什么要紧紧绑定到lubuntu-desktop?更重要的是,摆脱了会有什么影响lubuntu-desktop?这可能是 SPM 方面的错误吗?

paulkorir@paulkorir-X101CH:~$ sudo apt-get remove abiword abiword-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  conglomerate-common libbonoboui2-0 libbonoboui2-common libgnomeui-0 
  libgnomeui-common
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  abiword abiword-common lubuntu-desktop
0 upgraded, 0 newly installed, 3 to remove and 17 not upgraded.
After this operation, 15.4 MB disk space will be freed.   
Do you want to continue [Y/n]? 
Run Code Online (Sandbox Code Playgroud)

Bra*_*iam 5

lubuntu-desktop只是一个元软件包,可以在一个步骤中安装所有与 lubuntu 相关的软件包,因此它取决于在任何 lubuntu 安装中默认安装的所有软件包。它可以安全地删除,但你应该确保只有那个包被卸载了,没有其他东西被卸载:

sudo apt-get remove lubuntu-desktop
Run Code Online (Sandbox Code Playgroud)

有了这个,只需删除您想要摆脱的依赖项:

sudo apt-get remove abiword
Run Code Online (Sandbox Code Playgroud)

它已经完成了。

Synaptic 的方法同样好,但同样,请确保只删除您想要删除的包。

  • 我还删除了 abiword(以及 gnumeric 和一堆其他东西),所以没有 `lubuntu-desktop`。下次重新启动时,您会 [就好](http://www.mail-archive.com/lubuntu-desktop@lists.launchpad.net/msg03490.html)!唯一可能出现的复杂情况是,如果您选择在将来升级您的 Lubuntu。我总是备份我的数据并进行全新安装而不是 _in situ_ 升级。所以我一点也不怀念`lubuntu-desktop`。 (3认同)