人们这么说 aptitude
在Debian上要好得多 apt-get
,但我发现它不太有用。 (参见下面的示例。)是否有任何配置魔术 aptitude
摆脱那些无用的状态信息?
» aptitude install foo Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Couldn't find any package whose name or description matched "foo" Couldn't find any package whose name or description matched "foo" No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Writing extended state information... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states...
相比:
» apt-get install foo Reading package lists... Building dependency tree... Reading state information... E: Couldn't find package foo