From 2112b985118566116b73bb439424cb964f5f48a1 Mon Sep 17 00:00:00 2001 From: Koshy John Date: Thu, 28 Mar 2024 16:46:12 -0700 Subject: [PATCH] Hotfix changes for strict SDP having some updates show up as 'new' packages (#254) --- src/core/src/package_managers/AptitudePackageManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/src/package_managers/AptitudePackageManager.py b/src/core/src/package_managers/AptitudePackageManager.py index 038cb9b9..6f902988 100644 --- a/src/core/src/package_managers/AptitudePackageManager.py +++ b/src/core/src/package_managers/AptitudePackageManager.py @@ -54,7 +54,7 @@ def __init__(self, env_layer, execution_config, composite_logger, telemetry_writ # Install update # --only-upgrade: upgrade only single package (only if it is installed) self.single_package_upgrade_cmd = '''sudo DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF8 ''' + optional_accept_eula_in_cmd + ''' apt-get -y --only-upgrade true install ''' - self.install_security_updates_azgps_coordinated_cmd = '''sudo DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF8 ''' + optional_accept_eula_in_cmd + ''' apt-get -y --only-upgrade true upgrade ''' + self.install_security_updates_azgps_coordinated_cmd = '''sudo DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF8 ''' + optional_accept_eula_in_cmd + ''' apt-get -y --only-upgrade true dist-upgrade ''' # Package manager exit code(s) self.apt_exitcode_ok = 0