How to use yum-complete-transaction

Tux-says-YUMEvery once in a while it can happen happen that use use “yum update” to update your Linux system.

Usually this works without a hitch, but you may have come across a message such as this:

Setting up Install Process
Resolving Dependencies
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.

But what does this mean, and how do we alleviate this?

This message means that yum didn’t quite finish something the last time the command ran. Lucky for us, we’re even given a solution: run yum-finish-transaction. If you’ve tried, you may have noticed that you don’t have the command, because it needs to be installed separately (as part of a suite called yum-utils). We can do this like so:

Now you should be able to run

The command will give you something like this:

yum may also warn you that there are “outstanding transactions” and that you should run yum-complete-transaction… but since that’s what you’re doing you can safely ignore that warning.

After a short while, all should be well again, and you can run yum update without problems.

About Jay Versluis

Jay is a medical miracle known as a Super Survivor. He runs two YouTube channels, five websites and several podcast feeds. To see what else he's up to, and to support him on his mission to make the world a better place, check out his Patreon Campaign.

Add your voice!