I have a Fixlet that checks if osquery is install on our systems. On our Ubuntu systems, the relevance clause doesn’t seem to recognize the package is installed when it is indeed installed.
apt list --installed | grep osquery
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
osquery/unknown,now 5.1.0-1.linux amd64 [installed,upgradable to: 5.2.3-1.linux]
And then using QNA
Q: not (exists packages “osquery” whose(currently installed of it) of debianpackages)
A: True
T: 298800
Q: not (exists packages “osquery” of debianpackages)
A: False
T: 289951
Any ideas how to resolve?