Symptoms
The ELevate process fails during stage 3, and errors similar to the following can be found in the leapp-report.txt
file.
STDERR:
Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system
Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system
No matches found for the following disable plugin patterns: subscription-manager
Warning: Package marked by Leapp to upgrade not found in repositories metadata: leapp-upgrade-el7toel8 gpg-pubkey
RPM: warning: Generating 6 missing index(es), please wait...
Error: Transaction test error:
file /opt/alt/php70/etc/php.d.all/yaml.ini from install of alt-php70-pecl-ext-1-99.el8.x86_64 conflicts with file from package alt-php70-pecl-yaml-2.0.3-1.el7.x86_64
file /opt/alt/php70/usr/lib64/php/modules/yaml.so from install of alt-php70-pecl-ext-1-99.el8.x86_64 conflicts with file from package alt-php70-pecl-yaml-2.0.3-1.el7.x86_64
file /opt/alt/php71/etc/php.d.all/yaml.ini from install of alt-php71-pecl-ext-1-89.el8.x86_64 conflicts with file from package alt-php71-pecl-yaml-2.2.3-1.el7.x86_64
file /opt/alt/php71/usr/lib64/php/modules/yaml.so from install of alt-php71-pecl-ext-1-89.el8.x86_64 conflicts with file from package alt-php71-pecl-yaml-2.2.3-1.el7.x86_64
file /opt/alt/php72/etc/php.d.all.def/yaml.ini from install of alt-php72-pecl-ext-1-93.el8.x86_64 conflicts with file from package alt-php72-pecl-yaml-2.2.3-1.el7.x86_64
file /opt/alt/php72/usr/lib64/php/modules/yaml.so from install of alt-php72-pecl-ext-1-93.el8.x86_64 conflicts with file from package alt-php72-pecl-yaml-2.2.3-1.el7.x86_64
file /opt/alt/php73/etc/php.d.all/yaml.ini from install of alt-php73-pecl-ext-1-62.el8.x86_64 conflicts with file from package alt-php73-pecl-yaml-2.2.3-1.el7.x86_64
file /opt/alt/php73/usr/lib64/php/modules/yaml.so from install of alt-php73-pecl-ext-1-62.el8.x86_64 conflicts with file from package alt-php73-pecl-yaml-2.2.3-1.el7.x86_64
file /opt/alt/php74/etc/php.d.all/yaml.ini from install of alt-php74-pecl-ext-1-49.el8.x86_64 conflicts with file from package alt-php74-pecl-yaml-2.2.3-1.el7.x86_64
file /opt/alt/php74/usr/lib64/php/modules/yaml.so from install of alt-php74-pecl-ext-1-49.el8.x86_64 conflicts with file from package alt-php74-pecl-yaml-2.2.3-1.el7.x86_64
file /opt/alt/php82/etc/php.d.all/yaml.ini from install of alt-php82-pecl-ext-1-27.el8.x86_64 conflicts with file from package alt-php82-pecl-yaml-2.2.3-1.el7.x86_64
file /opt/alt/php82/usr/lib64/php/modules/yaml.so from install of alt-php82-pecl-ext-1-27.el8.x86_64 conflicts with file from package alt-php82-pecl-yaml-2.2.3-1.el7.x86_64
file /opt/alt/php81/etc/php.d.all/yaml.ini from install of alt-php81-pecl-ext-1-25.el8.x86_64 conflicts with file from package alt-php81-pecl-yaml-2.2.3-1.el7.x86_64
file /opt/alt/php81/usr/lib64/php/modules/yaml.so from install of alt-php81-pecl-ext-1-25.el8.x86_64 conflicts with file from package alt-php81-pecl-yaml-2.2.3-1.el7.x86_64
file /opt/alt/php80/etc/php.d.all/yaml.ini from install of alt-php80-pecl-ext-1-37.el8.x86_64 conflicts with file from package alt-php80-pecl-yaml-2.2.3-1.el7.x86_64
file /opt/alt/php80/usr/lib64/php/modules/yaml.so from install of alt-php80-pecl-ext-1-37.el8.x86_64 conflicts with file from package alt-php80-pecl-yaml-2.2.3-1.el7.x86_64
Description
In CloudLinux 8, the alt-php*-pecl-ext
packages include the yaml
package, which creates package conflicts with the alt-php*-pecl-yaml
packages. alt-php*-pecl-ext
packages built in July 2024 moved the yaml
package to a separate package.
Workaround
- Access the server's command line as the 'root' user via SSH or " Terminal " in WHM.
- Remove the
alt-php*-pecl-yaml
packages.rpm -qa |grep alt-php | grep pecl-yaml | while read yamlpkg ; do rpm -e --nodeps $yamlpkg ; done
- Continue the ELevate process.
/usr/local/cpanel/scripts/elevate-cpanel --continue
Comments
0 comments
Article is closed for comments.