diff --git a/changes/20751-detect-held-linux-packages-as-installed b/changes/20751-detect-held-linux-packages-as-installed new file mode 100644 index 0000000000..6aa524ce80 --- /dev/null +++ b/changes/20751-detect-held-linux-packages-as-installed @@ -0,0 +1 @@ +Linux .deb packages 'on hold' are now included in the installed software list. diff --git a/docs/Using Fleet/Understanding-host-vitals.md b/docs/Using Fleet/Understanding-host-vitals.md index 77b9e68ca9..3cdabf2fde 100644 --- a/docs/Using Fleet/Understanding-host-vitals.md +++ b/docs/Using Fleet/Understanding-host-vitals.md @@ -504,7 +504,7 @@ SELECT '' AS arch, '' AS installed_path FROM deb_packages -WHERE status = 'install ok installed' +WHERE status LIKE '% ok installed' UNION SELECT package AS name, diff --git a/server/service/osquery_utils/queries.go b/server/service/osquery_utils/queries.go index b811fc0026..1baa63a9f1 100644 --- a/server/service/osquery_utils/queries.go +++ b/server/service/osquery_utils/queries.go @@ -944,7 +944,7 @@ SELECT '' AS arch, '' AS installed_path FROM deb_packages -WHERE status = 'install ok installed' +WHERE status LIKE '% ok installed' UNION SELECT package AS name,