Categories: Linux筆記

The program package-cleanup is found in the yum-utils package.

關于使用yum“The program package-cleanup is…”的解决辦法

在使用yum 時總是有提示信息:
The program package-cleanup is found in the yum-utils package.
www.2cto.com
或者提示:
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 yum-utils
# 運行 yum-complete-transaction
yum-complete-transaction –cleanup-only
www.2cto.com
# 清除可能存在的重複包
package-cleanup –dupes
# 清除可能存在的損壞包
package-cleanup –problems

最後若還是有錯誤,在yum後面加上 –skip-broken

問題解决!

yan

Share
Published by
yan
Tags: CentOS