From ad3c78a4fc9f629b77df646758cea1003637b6b0 Mon Sep 17 00:00:00 2001 From: David Dauer Date: Wed, 12 Jul 2023 17:41:56 +0200 Subject: [PATCH] [ubuntu] include apt vital pkgs in software report (#7845) --- images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 b/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 index c23d1d6d..562f029d 100644 --- a/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 +++ b/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 @@ -322,7 +322,7 @@ function Get-CachedDockerImagesTableData { function Get-AptPackages { $apt = (Get-ToolsetContent).Apt $output = @() - ForEach ($pkg in ($apt.common_packages + $apt.cmd_packages)) { + ForEach ($pkg in ($apt.vital_packages + $apt.common_packages + $apt.cmd_packages)) { $version = $(dpkg-query -W -f '${Version}' $pkg) if ($Null -eq $version) { $version = $(dpkg-query -W -f '${Version}' "$pkg*")