请教aptitude命令相关的问题

$ sudo aptitude install -y gparted
下列“新”软件包将被安装。
gparted libgtkmm-2.4-1v5{a} libparted-fs-resize0{ab}
0 个软件包被升级,新安装 3 个, 0 个将被删除, 同时 4 个将不升级。
需要获取 1,129 kB 的存档。 解包后将要使用 6,973 kB。

请问,上述软件包花括号内的{a}和{ab}表示什么意思?

以下是在国外网站找到的相关技术资料,供你参考:
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.

1 个赞

非常感谢,正是想要的。