Answers:
这些没有记录。我的猜测是a用于自动安装,u用于(自动?)升级以及b用于安装软件包以修复损坏的软件包。
这意味着debfoster删除不应该使用的软件包,请注意该网站说:
As of 2006-01-01, debfoster is officially deprecated.
多年来,由于apt系统的更改,这可能会产生错误。您可以aptitude search '~b'在使用后进行确认debfoster(这将列出损坏的软件包)。
请注意,apt现在支持依赖项包的自动标志,并具有apt-get autoremove。有了才智,您也可以做到aptitude remove '~g'。
玩弄天才,事实证明,如果我?在得到Do you want to continue? [Y/n/?]提示时按,则会收到以下消息:
In the list of actions to be performed, some packages will be followed by one or
more characters enclosed in braces; for instance: "aptitude{u}". These
characters provide extra information about the package's state, and can include
any combination of the following:
'a': the package was automatically installed or removed.
'b': some of the package's dependencies are violated by the proposed changes.
'p': the package will be purged in addition to being removed.
'u': the package is being removed because it is unused.
因此,似乎b应该是破损的包装。虽然,在您的情况下,如果没有任何损坏,似乎会显示一个错误。我无法重现该问题,但aptitude确实尝试重新安装我删除的软件包,但apt-get括号中没有任何内容。
另请注意,这aptitude keep-all可能比移除更安全/var/lib/aptitude/pkgstates
aptitude why来查找正在发生的事情或仅查找该--show-why选项。
b毕竟是坏了还是aptitude why出现了其他原因?我确定我会在某个时候再次遇到这个问题,很高兴知道……
/var/lib/aptitude/pkgstates。否则,我仍然会得到apt-get remove pkg; aptitude why pkg“无法找到安装原因”;aptitude install然后安装pkg。
ps auxf显示,debfoster只是调用apt-get --purge remove pkg1 pkg2 etc.,搜索“〜B”回报什么,接下来aptitude install重新安装PGK1则pkg2等