Werk #20074: Fix agent package installation failure with agent updates disabled
| Component | Agent bakery | ||||
| Title | Fix agent package installation failure with agent updates disabled | ||||
| Date | Jul 13, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
Previously, when the Agent updater (Linux, Windows, Solaris) bakery rule had Activation set to Do not deploy automatic agent update plug-in, installing the resulting agent package on Linux or Solaris hosts failed.
The post-installation script tried to run a preparation script for the agent updater that was correctly left out of the package because automatic updates were deactivated. On Debian-based systems, this looked like:
/var/lib/dpkg/info/check-mk-agent.postinst: 33: /usr/lib/check_mk_agent/scripts/prepare-agent-updater.sh: not found
dpkg: error processing package check-mk-agent (--install):
installed check-mk-agent package post-installation script subprocess returned error exit status 127
and left the package in a broken ("half-configured") state.
This has been fixed: the post-installation step that starts the agent updater preparation is now skipped as well when automatic updates are deactivated for a host.
If you already ran into this, bake and reinstall the agent package once you've upgraded to a version containing this fix.