Description of problem:
yum-complete-transaction is removed in the latest RHEL 8 from the yum-utils package.
Version-Release number of selected component (if applicable):
RHEL 7 system.
# rpm -ql yum-utils-1.1.31-54.el7_8.noarch | grep bin
yum-complete-transaction has been removed from RHEL 8 system.
# rpm -ql yum-utils-4.0.12-4.el8_2.noarch | grep bin
This feature is been used on rhel 7 a lot during times where a server fails to patch properly , and / or a satellite issue occurs and patching doesn't complete properly.
Our issue with the /usr/sbin/yum-complete-transaction command being missing, has to do with our thousands of lines of satellite automation patching scripts. Which is based on the output of this command "yum-complete-transaction" , several different supporting automation scripts will trigger. I need to know if this is going to be added back or not ? Could someone please let me know, if it is going to be added back, please give me an estimate of time. Thank you Rob Freeman 918.406.9534
The problem with interrupted transaction can be resolved by `yum remove --duplicates`. It removes duplicates from the system and reinstall potential broken packages. In the second step I can recommend to try to redo the broken transaction using `yum history redo <transaction id>`. The transaction ID can be taken from output of `yum history` which lists all transactions.
Hello Rob, Sorry about the late response.
I think we'll need more details about this. We are not planning to add support for the old format that yum-complete-transaction has used. Do you really have thousands of lines specifically working with this file format? What are you doing with it? What are the reasons for that? We should figure out a new solution to what you need, the old format was not good and it doesn't make sense from technical standpoint to support it.
We have a new JSON format for storing transactions, which is used by the `dnf history store` and `dnf history replay` commands. The store command works with transactions from the transaction history. We can add support for storing unfinished transactions, though it will likely not be automatically e.g. after pressing 'n' when asked whether to perform a transaction. Instead, we'd add a switch, e.g. `dnf install foo --store-transaction` which would (instead of doing the install) just store the file. The syntax of that is up for discussion.