解决yum update意外中断后无法继续更新的问题

问题表现:
在执行yum update更新系统时因卡住、SSH意外断开等原因导致更新被打断后,再次执行更新会抛出错误:

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.

解决方法:
安装安装yum-complete-transaction

yum install -y yum-utils

运行运行yum-complete-transaction

yum-complete-transaction

再次执行更新即可

yum update

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha Code