Leapp upgrade failed with package conflicts with el7

I’m trying an in-place upgrade from Centos 7 to Alma 8, which I tried a month ago and was successful. Now I’m attempting it in another environment, but it’s not working and fails with the error shown below.

Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing ‘dnf clean packages’.

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: gpg-pubkey
RPM: warning: Generating 6 missing index(es), please wait…
Error: Transaction test error:
file /etc/centos-release from install of almalinux-release-8.9-1.el8.x86_64 conflicts with file from package centos-release-7-9.2009.1.el7.centos.x86_64
file /etc/redhat-release from install of almalinux-release-8.9-1.el8.x86_64 conflicts with file from package centos-release-7-9.2009.1.el7.centos.x86_64
file /etc/rpm/macros.dist from install of almalinux-release-8.9-1.el8.x86_64 conflicts with file from package centos-release-7-9.2009.1.el7.centos.x86_64
file /etc/system-release from install of almalinux-release-8.9-1.el8.x86_64 conflicts with file from package centos-release-7-9.2009.1.el7.centos.x86_64
file /etc/system-release-cpe from install of almalinux-release-8.9-1.el8.x86_64 conflicts with file from package centos-release-7-9.2009.1.el7.centos.x86_64
file /etc/dnf/vars/contentdir from install of almalinux-release-8.9-1.el8.x86_64 conflicts with file from package centos-release-7-9.2009.1.el7.centos.x86_64
file /usr/lib/os-release from install of almalinux-release-8.9-1.el8.x86_64 conflicts with file from package centos-release-7-9.2009.1.el7.centos.x86_64
file /usr/lib/systemd/system-preset/90-default.preset from install of almalinux-release-8.9-1.el8.x86_64 conflicts with file from package centos-release-7-9.2009.1.el7.centos.x86_64
file /usr/share/doc/redhat-release from install of almalinux-release-8.9-1.el8.x86_64 conflicts with file from package centos-release-7-9.2009.1.el7.centos.x86_64
file /usr/share/redhat-release from install of almalinux-release-8.9-1.el8.x86_64 conflicts with file from package centos-release-7-9.2009.1.el7.centos.x86_64
file /usr/lib/python2.7/site-packages/ipaddress.py from install of python2-ipaddress-1.0.18-6.module_el8.6.0+2781+fed64c13.noarch conflicts with file from package python-ipaddress-1.0.16-2.el7.noarch
file /usr/lib/python2.7/site-packages/ipaddress.pyc from install of python2-ipaddress-1.0.18-6.module_el8.6.0+2781+fed64c13.noarch conflicts with file from package python-ipaddress-1.0.16-2.el7.noarch
file /usr/lib/python2.7/site-packages/ipaddress.pyo from install of python2-ipaddress-1.0.18-6.module_el8.6.0+2781+fed64c13.noarch conflicts with file from package python-ipaddress-1.0.16-2.el7.noarch