packages whose
(
(
"apt" = name of it OR "aptitude" = name of it OR "yum" = name of it OR "emerge" = name of it OR "pacman" = name of it OR "zypp" = name of it OR "dnf" = name of it OR "urpmi" = name of it
)
AND
(
if exists properties whose
(
it as string contains "currently installed of "
)
then
(
currently installed of it
)
else TRUE
)
)
of
(
if exists properties whose
(
it as string contains "debianpackage:"
)
then debianpackages else if exists properties whose
(
it as string contains "rpm:"
)
then rpms else ERROR "The operators are not defined."
)
packages whose( ("apt" = name of it OR "aptitude" = name of it OR "yum" = name of it OR "emerge" = name of it OR "pacman" = name of it OR "zypp" = name of it OR "dnf" = name of it OR "urpmi" = name of it) AND (if exists properties whose(it as string contains "currently installed of ") then (currently installed of it) else TRUE)) of (if exists properties whose(it as string contains "debianpackage:") then debianpackages else if exists properties whose(it as string contains "rpm:") then rpms else ERROR "The operators are not defined.")