Yum Complete Transaction

While trying to run a yum update I received the below warning message:

Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check

To resolve this yum-complete-transaction is required to complete the unfinished transactions.

The transaction may report some errors on packages listed twice during the process, however it finishes and the state of RPMs seems to be correct. However the yum still complains about unfinished transactions (but doesn't fail any more). It's safe to remove them now with: $ yum-complete-transaction -cleanup-only. Solution: Install yum-utils, drop down to root environment (su -) and run the cmd yum-complete-transaction, it should run and fix your yum problem This entry was posted in Computer, server, Software and tagged yum-complete-transaction by muthii.

Dnf


yum-complete-transaction is a program which finds incomplete or aborted yum transactions on a system and attempts to complete them. It looks at the transaction-all* and transaction-done* files which can normally be found in /var/lib/yum if a yum transaction aborted in the middle of execution.

Yum Complete Transaction Cleanup Only

If it finds more than one unfinished transaction it will attempt to complete the most recent one first. You can run it more than once to clean up all unfinished transactions.

Run the following to install yum-utils (which provides yum-complete-transaction), cleanup and finish the transactions.

yum install yum-utils
yum clean all
/usr/sbin/yum-complete-transaction --cleanup-only

Now yum commands can be run without the unfinished transactions warning.

yum update

yum-complete-transaction: attempt to complete failed or aborted Yum transactions

Command to display yum-complete-transaction manual in Linux: $ man 8 yum-complete-transaction

NAME

yum-complete-transaction - attempt to complete failed or aborted Yum transactions

SYNOPSIS

yum-complete-transactionYum complete transaction command not found [options]

GENERAL OPTIONS

AUTHORS

BUGS

There are of course no bugs, but should you find any, you should firstconsult the FAQ section on http://yum.baseurl.org/wiki/Faq and if unsuccessfulin finding a resolution contact the mailing list: yum-devel [at] lists.baseurl.org.To file a bug use http://bugzilla.redhat.com for Fedora/RHEL/Centosrelated bugs and http://yum.baseurl.org/report for all other bugs.

SEE ALSO

Pages related to yum-complete-transaction

Yum Complete TransactionCommand
  • yum-langpacks (8) - Plugin for yum
  • yum-shell (8) - Yellowdog Updater Modified shell
  • yum (8) - Yellowdog Updater Modified
  • yumdb (8) - query and alter the Yum database

Yum Complete Transaction Command

Linux man pages generated by: SysTutorials. Linux Man Pages Copyright Respective Owners. Site Copyright © SysTutorials. All Rights Reserved.