Issue
In some cases, you will notice the following error when trying to install mod_lsapi, mainly in DirectAdmin servers:
# yum install liblsapi liblsapi-devel
This system is receiving updates from CloudLinux Network server.
All matches were filtered out by exclude filtering for argument: liblsapi
All matches were filtered out by exclude filtering for argument: liblsapi-devel
Environment
- CloudLinux OS
- DirectAdmin
- mod_lsapi
Solution
Remove liblsapi from exclude list in /etc/yum.conf
NOTE: For CloudLinux OS 8, you will also need to check the DNF configuration file /etc/dnf/dnf.conf
.
Then, we should be able to install the packages:
# yum install liblsapi liblsapi-devel
To complete the installation:
# cd /usr/local/directadmin/custombuild
# ./build update
# ./build set php1_mode lsphp
# ./build php n
# ./build apache
Note: In case you need installing lsapi beta version, consider contacting DirectAdmin support. Because since DirectAdmin 1.647 "Support for using beta CloudLinux versions by setting cloudlinux_beta
flag in CustomBuild options.conf
file is removed. CustomBuild will always use non-beta CloudLinux software versions"
Cause
The issue is related to the /etc/yum.conf configuration file. The "exclude" directive is used to prevent installation or update of certain packages in RPM-based distributions. In this case, the file should look like:
# grep exclude /etc/yum.conf
exclude=liblsapi* apache* nginx* httpd* mod_* mysql* MySQL* mariadb* da_* *ftpd
As we can see, "liblsapi" is restricted. Useful links
Comments
0 comments
Please sign in to leave a comment.