Rate This Document
Findability
Accuracy
Completeness
Readability

Incompatible libtirpc Versions When Installing MySQL of Different Versions in Parallel on EulerOS

Symptom

When MySQL of different versions are installed in parallel on EulerOS 2.0, libtirpc of the earlier version is incompatible with libtirpc of the later version. The error message is as follows:

Problem: cannot install both Libtirpc-0.2.4-0.16.el7.aarch64 and Libtirpc-1.1.4-0.h5.eulerosv2r8.aarch64
Problem: The operation would result in removing the following protected packages: systemd-udev

Key Process and Cause Analysis

According to the error information, the libtirpc dependencies conflict with each other. It is preliminarily determined that an earlier libtirpc version has been installed on the OS, and this version is incompatible with the newly installed libtirpc version.

Conclusion and Solution

  • Check whether MySQL is compatible with libtirpc of the earlier version. If yes, you do not need to install libtirpc of the later version.
  • Ensure that the installation directories, running data directories, and port numbers of MySQL of different versions are unique.

    openEuler 20.03, openEuler 22.03, CentOS 7.6, and CentOS 8.0 have been verified in the Kunpeng community. To use EulerOS, contact EulerOS official technical support to obtain dependency compatibility information.