Skip to content

Patch Manager reports no applicable patches on Ubuntu 24.04 but APT shows upgradable packages

0

I am testing AWS Systems Manager Patch Manager on an Ubuntu Server 24.04 (noble) EC2 instance and am seeing behavior that I want to clarify.

Below is my patch baseline configuration for ubuntu. Enter image description here

Based on the patch manager logs, packages were not upgraded.

/usr/bin/python3
/usr/bin/apt-get
Reading package lists...
Building dependency tree...
Reading state information...
python3-apt is already the newest version (2.7.7ubuntu5.1).
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.

01/19/2026 13:45:46 root [INFO]: Reading the inventory from local configuration directory
01/19/2026 13:45:46 root [INFO]: Starting APT patching operation.
01/19/2026 13:45:46 root [INFO]: Loading patch snapshot from <patch_apt.patch_snapshot.PatchSnapshot object at 0x7c8f666e2000>
01/19/2026 13:45:52 root [INFO]: Re-synchronizing the package index files from their sources.

Hit http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu noble InRelease         

Hit http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu noble-updates InRelease 

Hit http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu noble-backports InRelease

Hit http://security.ubuntu.com/ubuntu noble-security InRelease                  

Fetched 0 B in 0s (0 B/s)                                                       
01/19/2026 13:46:09 root [INFO]: Installed count: 0 Installed other count: 653 Installed rejected count: 0 Missing count: 0 Not Applicable count: 0 Failed count: 0

Hit http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu noble InRelease         

Hit http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu noble-updates InRelease 

Hit http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu noble-backports InRelease

Hit http://security.ubuntu.com/ubuntu noble-security InRelease                  

Fetched 0 B in 0s (0 B/s)                                                       
01/19/2026 13:46:26 root [INFO]: After applying filters, missing count: 0 failed count: 0
01/19/2026 13:46:26 root [INFO]: After applying sanity check, missing count: 0, partially installed count: 0, failed count: 0
01/19/2026 13:46:26 root [INFO]: No packages found that can be upgraded.
01/19/2026 13:46:26 root [INFO]: Re-synchronizing the package index files from their sources.

Hit http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu noble InRelease         

Hit http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu noble-updates InRelease 

Hit http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu noble-backports InRelease

Hit http://security.ubuntu.com/ubuntu noble-security InRelease                  

Fetched 0 B in 0s (0 B/s)                                                       
01/19/2026 13:46:43 root [INFO]: Installed count: 0 Installed other count: 653 Installed rejected count: 0 Missing count: 0 Not Applicable count: 0 Failed count: 0
01/19/2026 13:46:43 root [INFO]: Cleaning the APT cache.
01/19/2026 13:46:43 root [INFO]: Calling apt-get clean to clean cache.
01/19/2026 13:46:43 root [INFO]: Patching operation completed. Exit code: 0


01/19/2026 13:46:45 root [INFO]: Summary: {'TypeName': 'AWS:PatchSummary', 'SchemaVersion': '1.0', 'ContentHash': '012da5800624e5e738c861fb6757f8e52f3a6a26a4d9dce7946da9de3e7a1081', 'CaptureTime': '2026-01-19T13:46:44Z', 'Content': [{'BaselineId': 'pb-0231e754a33fbc451', 'PatchGroup': 'patch-group-ubuntu', 'SnapshotId': 'b8cf81cc-41e0-46cb-9b3b-183ab4a6c397', 'ExecutionId': '410a7288-5f09-4e7a-84b6-93e8708a5010', 'InstalledCount': '0', 'InstalledOtherCount': '653', 'InstalledRejectedCount': '0', 'InstalledPendingRebootCount': '0', 'NotApplicableCount': '0', 'MissingCount': '0', 'FailedCount': '0', 'CriticalNonCompliantCount': '0', 'SecurityNonCompliantCount': '0', 'OtherNonCompliantCount': '0', 'OperationType': 'Install', 'OperationStartTime': '2026-01-19T13:45:45Z', 'OperationEndTime': '2026-01-19T13:46:44Z', 'RebootOption': 'RebootIfNeeded'}]}

However, when I manually check for updates, APT reports upgradable packages:

apt list --upgradable

This shows multiple packages from noble-updates Enter image description here

asked 10 months ago245 views

1 Answer
0

This discrepancy between Patch Manager reporting no applicable patches and APT showing upgradable packages on your Ubuntu 24.04 (noble) instance is likely due to how Patch Manager handles Ubuntu security repositories.

For Ubuntu Server 24.04 LTS, Patch Manager specifically limits patch candidate versions to patches from the noble-security repository. Based on your screenshot showing upgradable packages, the updates appear to be coming from the noble-updates repository, not from noble-security.

Patch Manager is working as designed - it's only considering security patches from the designated security repository for your Ubuntu version. The packages showing as upgradable in your manual APT check are likely non-security updates or feature enhancements from the standard update channels.

This behavior is intentional as Patch Manager focuses primarily on security patches for Ubuntu systems. If you want to include patches from other repositories like noble-updates, you would need to adjust your patching strategy, potentially using custom scripts or other automation methods to apply those updates.

Additionally, when reviewing patching compliance details, it's important to note that Patch Manager doesn't report details about patches in the "Not Applicable" state for Linux systems (unlike Windows), though it does include them in summary counts. This is due to the large number of available packages for Linux operating systems.
Sources
How patches are installed - AWS Systems Manager
Patching operation differences between Linux and Windows Server - AWS Systems Manager

answered 10 months ago

EXPERT

reviewed 10 months ago

  • So patch manager only covers patches from the noble-security repository for ubuntu ? The packages patches from the noble-updates won't be covered?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.