CentOS about “running Yum complete transaction first”

http://hi.baidu.com/wuhui/item/0a9e73d422f88f1821e25022

Today, there are several errors in using Yum to install the software, and there is always a prompt message:

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.

It means that there are unfinished Yum transactions. It is recommended to run the yum complete transaction command to end them.

Processing steps:

# install Yum complete transaction

yum install yum-utils

# run Yum complete transaction

yum-complete-transaction –cleanup-only

# remove possible duplicate packets

package-cleanup –dupes

# remove possible damaged packages

package-cleanup –problems

============================================================

Postscript, restart VPS, install Yum utils, solve the problem in a cold sweat

Similar Posts: