1,
關於使用yum“The program package-cleanup is...”的解決辦法
在使用yum 時總是有提示信息:
The program package-cleanup is found in the yum-utils package.
或者提示:
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
# 清除可能存在的重復包
package-cleanup --dupes
# 清除可能存在的損壞包
package-cleanup --problems
問題解決!
2,
報錯:
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
解決:
yum clean all
rpm --rebuilddb
yum update
或者換一個yum源
刪掉原來的需要的包,重新安裝