Red Hat Bugzilla – Bug 526784
RFE: yum-complete-transaction should have an option to iterate over all outstanding transactions
Last modified: 2016-04-20 08:52:07 EDT
Description of problem:
yum-complete-transaction should have an option to iterate over all outstanding transactions.
If yum has been failing, e.g. from a cron job, there can be many outstanding transactions to clean up. It would be a lot less painful if there was an option on yum-complete-transactions to iterate over them all in an unattended fashion.
Bonus points for doing it efficiently, perhaps by iteration the transactions in one pass, and updating the rpms in a single merged pass afterwards.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Simpler yum administration.
the best bet is to run: yum-complete-transaction --cleanup-only
but you can also go into the /var/lib/yum dir and remove the files manually.