当前位置: 首页>>技术教程>>正文


为什么取消了能力以支持apt-get?

, ,

问题描述

为什么aptitude默认被删除而支持apt-get?我在某个地方读过它,但忘了 – 有人费心去清理它吗? Debian不喜欢aptitude和Canonical apt-get吗?

更新

从答案我理解aptitude已被删除,因为它不再用于安装,但为什么安装程序使用apt-get,当aptitude应该更好?

最佳解决思路

这已在LaunchPad上的Bug #592336中介绍。但是,总之,在UDS-M(Ubuntu Developer Summit)期间,如果删除了Tasksel和Aptitude,则可以在有限的LiveCD图像上获得2个额外的MB。

The initial reason why aptitude was included in ubuntu was that the desktop installer (ubiquity) depended on it, but now the desktop installer has been rewritten to not require it unless in particular cases, and hence it goes.

由于安装程序不再需要能力,因此在需要时动态安装,而不是将其包含在基本映像中,这是更好的行动方案。

We could substantially reduce the size of the minimal seed by installing tasksel and aptitude dynamically, so that we don’t end up with them on live-installed systems.

用于Maverick Spring Cleaning状态的specUbuntu Wiki page,将其从基座上移除,对于初始种子和基部尺寸有很大的好处。

次佳解决思路

Colin Watson解释了删除aptitude背后的原因:

[…] aptitude has a different dependency resolver which handles things quite differently from apt-get, and the fact is that we simply do not routinely test that dependency resolver. […].

The base system is constantly tight on space, and everyone wants a piece of that space. […]

(我的重点)

他的完整解释可以在Bug #592336上找到。

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/6753.html,未经允许,请勿转载。