當前位置: 首頁>>技術教程>>正文


為什麽取消了能力以支持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/zh-tw/article/6753.html,未經允許,請勿轉載。