Werk #20074 · Jul 13, 26
Fix agent package installation failure with agent updates disabled
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.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Agents
- Versions:
- 3.0.0b1Not yet releasedProUltimateUltimate + MTCloud
- 2.5.0p10ProUltimateUltimate + MTCloud