Issue
On CloudLinux DirectAdmin servers, yum/dnf update, da build mod_lsapi, or a CloudLinux conversion (cldeploy) fails with a liblsapi ↔ criu-lve dependency conflict.
Two forms of the same error:
# update path package criu-lve-4.2-4.<el>.x86_64 conflicts with liblsapi < 1:1.1-95 provided by liblsapi-1:1.1-94.<el>.cloudlinux.x86_64 from @System --- # custombuild / cldeploy path error: Failed dependencies: liblsapi < 1:1.1-95 conflicts with (installed) criu-lve-4.2-4.<el>.x86_64 *** mod_lsapi.da_cb_install error: cannot update liblsapi from .../da_lsapi/liblsapi-1.1-94...rpm *** failed to build mod_lsapi 1.1-94 --- (On CloudLinux 7 the versions read criu-lve-3.13-10 / liblsapi-1.1-73.)
Environment
- CloudLinux OS
- DirectAdmin
- Mod_Lsapi
Solution
- CloudLinux 8, 9, 10 — update DirectAdmin (recommended, permanent)
The problem is specific to DirectAdmin 1.705, which installs the conflicting older liblsapi. Version 1.706 fixes this, so once you are on 1.706 or later the mod_lsapi build succeeds and the conversion/setup completes.
1. Check your current DirectAdmin version:
da version
2. Update to 1.706 or newer. First try a normal update:
da update
If da version still shows 1.705, then 1.706 has not yet reached your update channel. It was first released on the alpha channel, so switch to it and update again:
da config-set update_channel alpha da update alpha
3. Confirm you are now on 1.706 or newer:
da version
4. Rebuild mod_lsapi / Apache (or re-run the CloudLinux conversion if it failed mid-cldeploy):
cd /usr/local/directadmin/custombuild ./build update ./build apache
- CloudLinux 6 / 7 (EOL) — manual fix
DirectAdmin no longer ships versions.txt updates for EOL OS, so point custombuild at the current published mod_lsapi yourself:
cd /usr/local/directadmin/custombuild
grep -nE '^mod_lsapi:' versions.txt versions_cl.txt
sed -i -E 's/^(mod_lsapi:)1\.1-[0-9]+:/\11.1-96:/' versions.txt versions_cl.txt
rm -f cache/mod_lsapi-*.tar.gz
./build mod_lsapi
httpd -tCause
criu-lve intentionally declares Conflicts: liblsapi < 1:1.1-95 to block a mismatched, crash-prone mod_lsapi.so/liblsapi ABI pair. This guard is working as designed and is not removed. The conflict appears only because DirectAdmin custombuild is building an old liblsapi (< 1.1-95) while criu-lve has moved forward - either because the custombuild manifest is pinned to an old mod_lsapi, or because of a DirectAdmin 1.705 bug.
Useful links
DirectAdmin 1.706 release: https://forum.directadmin.com/threads/directadmin-1-706.82418/
Comments
0 comments
Please sign in to leave a comment.