Skip to content

Fixed cleanup of stale cfbuild packages on build hosts (3.24.x) - #2431

Open
larsewi wants to merge 1 commit into
cfengine:3.24.xfrom
larsewi:erase-stale-cfbuild-packages-3.24.x
Open

Fixed cleanup of stale cfbuild packages on build hosts (3.24.x)#2431
larsewi wants to merge 1 commit into
cfengine:3.24.xfrom
larsewi:erase-stale-cfbuild-packages-3.24.x

Conversation

@larsewi

@larsewi larsewi commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Backported from #2427

zypper has no uninstall command, so erase-packages silently did nothing
on SUSE. The || true guard hid the error.

The cleanup also ran too late. It sat inside the cf-remote branch, which
the CentOS 6 and SUSE 12 paths never reach because they install the
agent directly.

Leftover cfbuild-* packages own files under /var/cfengine. Installing
cfengine-nova then aborts on file conflicts, because zypper install -y
does not auto-answer the file conflict prompt.

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
(cherry picked from commit 6149ed2)
@larsewi larsewi changed the title Fixed cleanup of stale cfbuild packages on build hosts Fixed cleanup of stale cfbuild packages on build hosts (3.24.x) Aug 13, 2026
@larsewi

larsewi commented Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

@cf-bottom Jenkins with exotics please :)

@cf-bottom

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants