Linux Yum中断后解决方案

Linux Yum中断后解决方案

由于使用的是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

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。