由于使用的是VPN,在運行YUM過程中斷,導致后面運行yum出現一些問題。
下面是查到的解決方案
For me it looks like you rebooted your computer (or it crashed) while you where in the process of upgrading packages. So new packages where installed, but old packages where not removed.
First look if you have any uncomplete transactions with:
1.首先查看是否有未完成的事務
yum-complete-transaction
2.查看是否有重復的包
package-cleanup --dupes
3.如果有的話請理這些重復的包
package-cleanup --cleandupes