To get all the properties:
(name of it | "UnknownName", installed version of it | "0.0.0.0" as version, pkg version of it | "0.0.0.0" as version, currently installed of it | False) of packages of debianpackages
To get the same but only for those that are installed:
(name of it | "UnknownName", installed version of it | "0.0.0.0" as version, pkg version of it | "0.0.0.0" as version) of packages whose(currently installed of it) of debianpackages
I think packages
should work but get more results than base packages
depending on how specific you want to be.
Ideally we would have inspectors for all debianpackages
with the current behavior and also have one for installed debianpackages
that only includes those that are currently installed.
One thing that can come up is a package won’t show up in the results until it is installed for the first time, but then when it is uninstalled, it can still show up in the results unless you specifically use whose(currently installed of it)