Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system

I am trying to use ELevate for upgrading a CentOS 7 server to AlmaLinux 8. Have fixed some issues before upgrading. However, after running

leapp upgrade

the upgrading returns error

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: Packages marked by Leapp for upgrade not found in repositories metadata: gpg-pubkey
RPM: warning: Generating 6 missing index(es), please wait...
Error: Transaction test error:
  file /usr/lib/python3.6/site-packages/__pycache__/six.cpython-36.opt-1.pyc from install of python3-six-1.11.0-8.el8.noarch conflicts with file from package python36-six-1.14.0-3.el7.noarch
  file /usr/lib/python3.6/site-packages/__pycache__/six.cpython-36.pyc from install of python3-six-1.11.0-8.el8.noarch conflicts with file from package python36-six-1.14.0-3.el7.noarch
  file /usr/lib/python3.6/site-packages/six.py from install of python3-six-1.11.0-8.el8.noarch conflicts with file from package python36-six-1.14.0-3.el7.noarch
  file /usr/lib/python3.6/site-packages/__pycache__/pyparsing.cpython-36.opt-1.pyc from install of python3-pyparsing-2.1.10-7.el8.noarch conflicts with file from package python36-pyparsing-2.4.0-1.el7.noarch
  file /usr/lib/python3.6/site-packages/__pycache__/pyparsing.cpython-36.pyc from install of python3-pyparsing-2.1.10-7.el8.noarch conflicts with file from package python36-pyparsing-2.4.0-1.el7.noarch
  file /usr/lib/python3.6/site-packages/pyparsing.py from install of python3-pyparsing-2.1.10-7.el8.noarch conflicts with file from package python36-pyparsing-2.4.0-1.el7.noarch

The system is definitely not read-only. I can add and remove files without any problem. And I found this topic, at the end, it’s saying The following error message can be safely ignored, this is not the root cause…

I wonder if it’s also applying to my case, and is it safe for rebooting now?
Thanks.

Hi,

i have exactly the same error message, is there a solution ?

i´m testing around around with almalinux, i want to upgrade all my centos 7 servers to almalinux, this is my first test. its a server with graylog, mongodb installed, the preupgrade check is good and all green, but the real upgraded process brings up some erros…wahts the problem ?

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
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id “failovermethod” does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id “failovermethod” does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id “failovermethod” does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id “failovermethod” does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id “failovermethod” does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id “failovermethod” does not exist
Warning: Packages marked by Leapp for install not found in repositories metadata: python3-javapackages ivy-local
Warning: Packages marked by Leapp for upgrade not found in repositories metadata: gpg-pubkey
RPM: warning: Generating 6 missing index(es), please wait…
Error: Transaction test error:
file /usr/lib64/.libcrypto.so.1.1.1k.hmac from install of openssl-libs-1:1.1.1k-6.el8_5.x86_64 conflicts with file from package openssl11-libs-1:1.1.1k-3.el7.x86_64

problem solved,

i can fix my error by uninstalling the package that was displayed in the last line of my error message

after upgrading to almalinux i was able to install the missing package and all dependencies

everything fine now

i dont know but, i think there can be errors in the ugrading process when package are installted they come from some epel-repositories…just a thought