Error during Centors 7>Alma 8 (solved)

Doing Centos upgrade from guide at Step-by-Step Guide to Migrating CentOS 7 to AlmaLinux

I get BTRFS error so disable btrfs each time I run the upgrade. I removed btrfs-progs but error still happens.

Upgrade has been inhibited due to the following problems:
    1. Btrfs has been removed from RHEL8
modprobe -r btrfs

I’ve disabled ALL my repos except these

Loading mirror speeds from cached hostfile
repo id                                                                                                repo name                                                                                                                         status
elevate/x86_64                                                                                         ELevate                                                                                                                           113
virtualmin/7/x86_64                                                                                    RHEL/CentOS/Scientific 7 - x86_64 - Virtualmin                                                                                    211
virtualmin-universal                                                                                   Virtualmin Distribution Neutral Packages                                                                                          240
repolist: 564

I’m not sure what this error relates to, it seems to by python but I can’t work out what to remove.

Or is it webp ?

 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
            Repository extras is listed more than once in the configuration
            Repository extras-source is listed more than once in the configuration
            Warning: Package marked by Leapp to upgrade not found in repositories metadata: gpg-pubkey leapp leapp-upgrade-el7toel8 python2-leapp
            RPM: warning: Generating 6 missing index(es), please wait...
            Error: Transaction test error:
              file /usr/lib64/libwebp.so.7 from install of libwebp-1.0.0-9.el8_9.1.x86_64 conflicts with file from package libwebp0.6-0.6.0-2.el7.x86_64
              file /usr/lib64/libwebpdecoder.so.3 from install of libwebp-1.0.0-9.el8_9.1.x86_64 conflicts with file from package libwebp0.6-0.6.0-2.el7.x86_64
              file /usr/lib64/libwebpdemux.so.2 from install of libwebp-1.0.0-9.el8_9.1.x86_64 conflicts with file from package libwebp0.6-0.6.0-2.el7.x86_64
              file /usr/lib64/libwebpmux.so.3 from install of libwebp-1.0.0-9.el8_9.1.x86_64 conflicts with file from package libwebp0.6-0.6.0-2.el7.x86_64

and the error from the log

2025-04-26 07:53:13.150 DEBUG    PID: 4252 leapp.workflow.Download.dnf_package_download: Command ['systemd-nspawn', '--register=no', '--quiet', '-D', u'/var/lib/leapp/el8userspace', '--setenv=LEAPP_UPGRADE_PATH_TARGET_RELEASE=8.10', '--setenv=LEAPP_NO_RHSM=0', '--setenv=LEAPP_EXPERIMENTAL=0', '--setenv=LEAPP_TARGET_PRODUCT_CHANNEL=ga', '--setenv=LEAPP_UPGRADE_PATH_FLAVOUR=default', '--setenv=LEAPP_COMMON_TOOLS=:/etc/leapp/repos.d/system_upgrade/common/tools:/etc/leapp/repos.d/system_upgrade/el7toel8/tools', '--setenv=LEAPP_COMMON_FILES=:/etc/leapp/repos.d/system_upgrade/common/files:/etc/leapp/repos.d/system_upgrade/el7toel8/files', '--setenv=LEAPP_IPU_IN_PROGRESS=7to8', '--setenv=LEAPP_UNSUPPORTED=0', '--setenv=LEAPP_EXECUTION_ID=b3619aa8-e149-437a-9940-b6e17e03d13b', '--setenv=LEAPP_HOSTNAME=xeno', '/usr/bin/dnf', 'rhel-upgrade', 'download', '/var/lib/leapp/dnf-plugin-data.txt', '--disableplugin', 'subscription-manager'] failed with exit code 1.
2025-04-26 07:53:13.158 DEBUG    PID: 4252 leapp.workflow.Download.dnf_package_download: External command has finished: ['systemd-nspawn', '--register=no', '--quiet', '-D', u'/var/lib/leapp/el8userspace', '--setenv=LEAPP_UPGRADE_PATH_TARGET_RELEASE=8.10', '--setenv=LEAPP_NO_RHSM=0', '--setenv=LEAPP_EXPERIMENTAL=0', '--setenv=LEAPP_TARGET_PRODUCT_CHANNEL=ga', '--setenv=LEAPP_UPGRADE_PATH_FLAVOUR=default', '--setenv=LEAPP_COMMON_TOOLS=:/etc/leapp/repos.d/system_upgrade/common/tools:/etc/leapp/repos.d/system_upgrade/el7toel8/tools', '--setenv=LEAPP_COMMON_FILES=:/etc/leapp/repos.d/system_upgrade/common/files:/etc/leapp/repos.d/system_upgrade/el7toel8/files', '--setenv=LEAPP_IPU_IN_PROGRESS=7to8', '--setenv=LEAPP_UNSUPPORTED=0', '--setenv=LEAPP_EXECUTION_ID=b3619aa8-e149-437a-9940-b6e17e03d13b', '--setenv=LEAPP_HOSTNAME=xeno', '/usr/bin/dnf', 'rhel-upgrade', 'download', '/var/lib/leapp/dnf-plugin-data.txt', '--disableplugin', 'subscription-manager']
2025-04-26 07:53:13.159 ERROR    PID: 4252 leapp.workflow.Download.dnf_package_download: Cannot calculate, check, test, or perform the upgrade transaction.
2

got past the first error by removing libwebp0.6
then had to remove php81
then upgrade would run and go through the reboot sequence and failed again on php82 and then failed on nodejs
then it worked completely (except for 5 high severity warnings).
I was able to boot into normal OS to do the yum commands. When it errors out during install it drops to a weird command line which doesn’t let you do anything, you need to just reboot and use your normal OS.

yum remove libwebp0.6
yum remove php*
yum remove nodejs*