• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Upgrade CentOS 7.9 to Alma Linux python errors

Heppi75

Basic Pleskian
Server operating system version
CentOS 7.9
Plesk version and microupdate number
18.0.44
I try to upgrade a plesk server running on CentOS 7.9 to Alma Linux with leapp. But the upgrade breaks each time with the following error. Maybe someone could help me to get rid of this python errors or can explain what is going wrong here?

Code:
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
  file /usr/lib64/.libssl.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
  file /usr/lib64/engines-1.1/afalg.so 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
  file /usr/lib64/engines-1.1/capi.so 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
  file /usr/lib64/engines-1.1/padlock.so 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
  file /usr/lib64/libcrypto.so.1.1.1k 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
  file /usr/lib64/libssl.so.1.1.1k 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
  file /usr/lib64/python3.6/site-packages/_yaml.cpython-36m-x86_64-linux-gnu.so from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__init__.py from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/__init__.cpython-36.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/composer.cpython-36.opt-1.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/composer.cpython-36.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/constructor.cpython-36.opt-1.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/constructor.cpython-36.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/cyaml.cpython-36.opt-1.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/cyaml.cpython-36.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/dumper.cpython-36.opt-1.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/dumper.cpython-36.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/emitter.cpython-36.opt-1.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/emitter.cpython-36.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/error.cpython-36.opt-1.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/error.cpython-36.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/events.cpython-36.opt-1.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/events.cpython-36.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/loader.cpython-36.opt-1.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/loader.cpython-36.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/nodes.cpython-36.opt-1.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/nodes.cpython-36.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/parser.cpython-36.opt-1.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/parser.cpython-36.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/reader.cpython-36.opt-1.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/reader.cpython-36.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/representer.cpython-36.opt-1.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/representer.cpython-36.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/resolver.cpython-36.opt-1.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/resolver.cpython-36.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/scanner.cpython-36.opt-1.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/scanner.cpython-36.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/serializer.cpython-36.opt-1.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/serializer.cpython-36.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/tokens.cpython-36.opt-1.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
  file /usr/lib64/python3.6/site-packages/yaml/__pycache__/tokens.cpython-36.pyc from install of python3-pyyaml-3.12-12.el8.x86_64 conflicts with file from package python36-PyYAML-3.13-1.el7.x86_64
 
To clarify, there are two conflicting packages:

openssl11-libs-1:1.1.1k-3.el7.x86_64
python36-PyYAML-3.13-1.el7.x86_64
 
If possible do a clean install -- backup everything that's not part of the system, and your /usr/local as well as /etc and /root etc, and do a clean start..
upgrades like this always cause headaches..
 
Are the conflicting packages installed from the EPEL repo?
If so, have a look at this thread:


From the thread:
"There are files under /etc/leapp/transaction called "to_install" and "to_remove". You can add the conflicting el7 packages to the "to_remove" file and the el8 packages to the "to_install" file."
Yes, I already find this option. But it doesn't work for me, the to_install and to_remove section is maybe ignored? Doesn't make any difference?

This are the packages, one epel and the other from plesk ...

Code:
Installierte Pakete
Name       : openssl11-libs
Architektur : x86_64
Epoche             :1
Version    : 1.1.1k
Ausgabe    : 3.el7
Größe : 3.6 M
Quelle      : installed
Aus Quelle  : epel
Zusammenfassung: A general purpose cryptography library with TLS implementation
URL        : http://www.openssl.org/
Lizenz      : OpenSSL and ASL 2.0
Beschreibung: OpenSSL is a toolkit for supporting cryptography. The openssl11-libs
            : package contains the libraries that are used by various applications which
            : support cryptographic algorithms and protocols.

Name       : python36-PyYAML
Architektur : x86_64
Version    : 3.13
Ausgabe    : 1.el7
Größe : 672 k
Quelle      : installed
Aus Quelle  : PLESK_18_0_42-thirdparty
Zusammenfassung: YAML parser and emitter for Python 3.6
URL        : http://pyyaml.org/
Lizenz      : MIT
 
Back
Top