Report packages on hold, and flag held kernel packages

A held package never upgrades, and apt's simulation leaves it out, so
its updates (security ones included) appear nowhere. A leftover hold on
linux-image-amd64 or linux-generic keeps a host on its kernel while it
looks current.

The agent reports installed held packages (dpkg's "hi") as
held_packages. A held linux-* package puts the host in update with the
apt-mark unhold hint; other holds, usually deliberate, get a note. The
host page lists them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
patrickandClaude Opus 5.5 committed 2026-11-01 15:24:27 -05:00
1 parent f88261d2f5
commit 4676942108
7 files changed
+61 -1

No files matched your search

+1
View File
@@ -45,6 +45,7 @@ FIELDS: dict[str, str] = {
"boot_size_kb": "int",
"boot_free_kb": "int",
"dpkg_unfinished_packages": "strlist",
"held_packages": "strlist",
"ubuntu_pro_attached": "bool",
"ubuntu_esm_infra": "str",
"unattended_upgrades": "str",