CLOS-2598: Add lua-cjson -> lua51-cjson REPLACED event to PES#26
Open
prilr wants to merge 1 commit into
Open
Conversation
The lua-cjson package on CL7 (Vendor: CloudLinux, from cloudlinux-updates)
ships the same /usr/lib64/lua/5.1/cjson.so and test files as lua51-cjson
on CL8 (from cloudlinux8-imunify360), but with different package names.
Without an explicit Replaced event, Leapp queues lua51-cjson for install
without removing lua-cjson, and the DNF transaction fails the test phase:
file /usr/lib64/lua/5.1/cjson.so from install of lua51-cjson-2.1.0-2.el8
conflicts with file from package lua-cjson-2.1.0-2.el7
The Replaced (action=3) event lets the transaction builder swap the two
packages in a single transaction, transferring file ownership cleanly.
Originally landed on testing as 49d873f (2024-07-10); ported with fresh
IDs (id=12948, set_id=16842/16843) since intermediate cloudlinux-branch
commits claimed the IDs the original event used.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
azheregelya
approved these changes
May 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The lua-cjson package on CL7 (Vendor: CloudLinux, from cloudlinux-updates) ships the same /usr/lib64/lua/5.1/cjson.so and test files as lua51-cjson on CL8 (from cloudlinux8-imunify360), but with different package names. Without an explicit Replaced event, Leapp queues lua51-cjson for install without removing lua-cjson, and the DNF transaction fails the test phase:
The Replaced (action=3) event lets the transaction builder swap the two packages in a single transaction, transferring file ownership cleanly.