Issue
HardenedPHP can't be installed on the server due to the dependencies issue for the libgearman package.
# imunify360-agent features install hardened-php
/var/log/imunify360/install-hardenedphp.log.71690
Imunify360 alt-php repository for CentOS 8 - x8 8.1 kB/s | 3.8 kB 00:00
Error: Module or Group 'alt-php' is not installed.
Error:
Problem 1: cannot install the best candidate for the job
- nothing provides libgearman needed by alt-php73-pecl-ext-1-46.el8.x86_64
Problem 2: cannot install the best candidate for the job
- nothing provides libgearman needed by alt-php74-pecl-ext-1-32.el8.x86_64
Problem 3: cannot install the best candidate for the job
- nothing provides libgearman needed by alt-php72-pecl-ext-1-74.el8.x86_64
Environment
- Imunify360
- HardenedPHP
- AlmaLinux 8
Solution
1. As a solution, the libgearman package can be installed from the EPEL repo.
# dnf -y install epel-release
# imunify360-agent features install hardened-php
2. After that, the EPEL repo should be disabled:
# dnf config-manager --set-disabled epel
# dnf config-manager --set-disabled epel-modular
Cause
The alt-php72-pecl-ext-1-74.el8.x86_64 package depends on the libgearman that should be installed from the EPEL repo.
Useful Info
Comments
0 comments
Please sign in to leave a comment.