關於linux(CentOS)無法更新安裝軟體出錯的解決辦法(提示The program package-cleanup is found in the yum-utils package)
阿新 • • 發佈:2018-12-26
關於使用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.
然後再:rpm --rebuilddb
最後是:yum update
以下是網上給出(錯誤的)解決方案,但經過測試是錯誤的或者失敗的解決辦法,因為這時的yum已經不能正常安裝任何軟體了,所以yum-utils自然也
無法安裝了,故以下方法步驟 在第一步的時候就被秒殺了
正確的解決方案
其實很簡單 只要兩步 命令一切OK
先執行:yum clean all然後再:rpm --rebuilddb
最後是:yum update
一切OK!