About using Yum "The Program Package-cleanup is... when using yum, there is always a prompt: The program package-cleanup is found in the Yum-utils package. www.2cto.com or prompt: 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.
The following is a solution (incorrect) provided on the Internet, but the solution is incorrect or failed after testing, because Yum cannot install any software normally at this time, so Yum-utils is also
Unable to install, so the following steps will be killed in the first step
Procedure: # Install Yum-complete-transaction Yum install Yum-utils # Run Yum-complete-transaction -- cleanup-only www.2cto.com # Clear possible duplicate package-cleanup -- dupes # Clear possible corrupted packages Package-cleanup -- Problems
Correct Solution
In fact, it's very easy. Just two steps to command everything. OK.
Run: Yum clean all
Then: rpm -- rebuilddb
Last: Yum update
Everything is OK!