The leapp preupgrade fails with error: file XXX from install of php-common-XXX.el8.x86_64 conflicts with file from package php56w-common-YYY.el7.x86_64

Solution Verified - Updated -

Issue

  • The leapp preupgrade fails with error: file XXX from install of php-common-XXX.el8.x86_64 conflicts with file from package php56w-common-YYY.el7.x86_64

    Risk Factor: high (error)
    Title: DNF execution failed with non zero exit code.
    Summary: {"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
    Warning: Package marked by Leapp to install not found in repositories metadata: python3-custodia
    Warning: Package marked by Leapp to upgrade not found in repositories metadata: leapp gpg-pubkey leapp-upgrade-el7toel8 python2-leapp
    RPM: warning: Generating 6 missing index(es), please wait...
    Error: Transaction test error:
    file /etc/php.ini from install of php-common-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 conflicts with file from package php56w-common-5.6.40-1.w7.x86_64
    file /usr/lib64/php/modules/bz2.so from install of php-common-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 conflicts with file from package php56w-common-5.6.40-1.w7.x86_64
    file /usr/lib64/php/modules/calendar.so from install of php-common-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 conflicts with file from package php56w-common-5.6.40-1.w7.x86_64
    file /usr/lib64/php/modules/ctype.so from install of php-common-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 conflicts with file from package php56w-common-5.6.40-1.w7.x86_64
    file /usr/lib64/php/modules/curl.so from install of php-common-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 conflicts with file from package php56w-common-5.6.40-1.w7.x86_64
    file /usr/lib64/php/modules/exif.so from install of php-common-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 conflicts with file from package php56w-common-5.6.40-1.w7.x86_64
    file /usr/lib64/php/modules/fileinfo.so from install of php-common-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 conflicts with file from package php56w-common-5.6.40-1.w7.x86_64
    file /usr/lib64/php/modules/ftp.so from install of php-common-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 conflicts with file from package php56w-common-5.6.40-1.w7.x86_64
    file /usr/lib64/php/modules/gettext.so from install of php-common-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 conflicts with file from package php56w-common-5.6.40-1.w7.x86_64
    file /usr/lib64/php/modules/iconv.so from install of php-common-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 conflicts with file from package php56w-common-5.6.40-1.w7.x86_64
    file /usr/lib64/php/modules/phar.so from install of php-common-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 conflicts with file from package php56w-common-5.6.40-1.w7.x86_64
    file /usr/lib64/php/modules/sockets.so from install of php-common-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 conflicts with file from package php56w-common-5.6.40-1.w7.x86_64
    file /usr/lib64/php/modules/tokenizer.so from install of php-common-7.2.24-1.module+el8.2.0+4601+7c76a223.x86_64 conflicts with file from package php56w-common-5.6.40-1.w7.x86_64
    

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Leapp

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content