問題表現:
在執行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