[user@node3 ~]$ yum install mysql-community-server
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/lib/
liblzma.so.5: version `XZ_5.1.2alpha' not found (required by /lib64/librpmio.so.3)
# 切换到/lib 目录, 将 lib64 下的一个文件复制到/lib
cd /lib
cp /lib64/liblzma.so.5.2.2 /lib/
# 在/lib 下创建链接
sudo ln -s -f liblzma.so.5.2.2 liblzma.so.5
# 测试
yum list
[user01@node3 ~]$ cd /home/user01/software/anaconda3/lib/
[user01@node3 lib]$ cp /lib64/liblzma.so.5.2.2 /home/user01/software/anaconda3/lib/
[user01@node3 lib]$ sudo ln -s -f liblzma.so.5.2.2 liblzma.so.5