Symptoms
It is not possible to install Plesk on AlmaLinux 9 OS, the process fails with the error below:
dnf.exceptions.DepsolveError:
Problem 1: conflicting requests
- nothing provides libraw_r.so.20()(64bit) needed by plesk-php82-imagick-3.7.0-0redhat.9.240412.1352.x86_64 from PLESK_17_PHP82
Problem 2: conflicting requests
- nothing provides libraw_r.so.20()(64bit) needed by plesk-php81-imagick-3.7.0-0redhat.9.240412.1743.x86_64 from PLESK_17_PHP81
Cause
This is the Plesk bug with the ID #PPPM-14412
Resolution
The corresponding updates for PHP were published and now Plesk can be succesfully installed on AlmaLinux 9 OS.
However if the server has enabled SELinux, Plesk policy is not loaded with error below:
/sbin/setfiles: /var/lib/selinux/final/targeted/contexts/files/file_contexts: Multiple same specifications for /usr/sbin/mariadbd.
/sbin/setfiles: /var/lib/selinux/final/targeted/contexts/files/file_contexts: Multiple same specifications for /usr/bin/mariadb-backup.
/var/lib/selinux/final/targeted/contexts/files/file_contexts: Invalid argument
libsemanage.semanage_validate_and_compile_fcontexts: setfiles returned error code 1.
This issue will be addressed in Plesk 18.0.61 version.
As a temporary workaround set SELinux to Permissive mode by using the steps from this article.