Skip to content

Commit 7eec376

Browse files
prilrclaude
andcommitted
CLOS-2598: Remove dead lua_cjson_handle from ClearPackageConflicts
The lua-cjson -> lua51-cjson swap on CL7 -> CL8 is now handled by a PES Replaced event in leapp-data (cloudlinux/pes-events.json), which makes DNF remove lua-cjson in the same transaction that installs lua51-cjson. The actor-level file-removal helper was never wired into process() and is no longer needed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 38adfc0 commit 7eec376

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

repos/system_upgrade/cloudlinux/actors/clearpackageconflicts/libraries/clearpackageconflicts.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -59,25 +59,6 @@ def alt_python37_handle(package_lookup):
5959
clear_problem_files(problem_files, problem_dirs)
6060

6161

62-
def lua_cjson_handle(package_lookup):
63-
"""
64-
lua-cjson package is conflicting with the incoming lua-cjson package for EL8.
65-
"""
66-
problem_packages = [
67-
"lua-cjson"
68-
]
69-
problem_files = [
70-
"/usr/lib64/lua/5.1/cjson.so",
71-
"/usr/share/lua/5.1/cjson/tests/bench.lua",
72-
"/usr/share/lua/5.1/cjson/tests/genutf8.pl",
73-
"/usr/share/lua/5.1/cjson/tests/test.lua",
74-
]
75-
problem_dirs = []
76-
77-
if problem_packages_installed(problem_packages, package_lookup):
78-
clear_problem_files(problem_files, problem_dirs)
79-
80-
8162
def process():
8263
rpm_lookup = set()
8364
# Each InstalledRPM is a list of RPM objects.

0 commit comments

Comments
 (0)