centos7.8升级openEuler22.03-lts 回退失败

There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

/usr/lib64/librpm.so.3: undefined symbol: rpm_execcon

Please install a package which provides this module, or
verify that the module is installed correctly.

It’s possible that the above module doesn’t match the
current version of Python, which is:
2.7.5 (default, Aug 4 2017, 00:39:18)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]

If you cannot solve this problem yourself, please go to
the yum faq at:

rpm:/usr/lib64/liblzma.so.5: version ‘XZ_5.2’ not found (required by /usr/lib64/librpmio.so.9)