问题描述
今天接手了一个被搞乱的服务器,在安装数据库的时候出现了大量的yum错误(如下列内容所示)。所以就在瞎折腾,我仅把我解决的过程作结一下供大家参考。
错误一Not removing XXX because it is required XXX
--------------------------------------------------------------------------------------
There are unfinished transactions remaining. You might consider running
yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.1234
错误二There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/usr/lib64/python2.7/site-packages/rpm/_rpm.so: undefined symbol: rpmpkgVerifySi
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,