> dnf history rollback <transaction-spec>|<package-file-spec>
Undo all transactions performed after the specified transaction. Uses the last transaction (with the highest ID) if more than one transaction for given <package-file-spec> is
found. If it is not possible to undo some transactions due to the current state of RPMDB, it will not undo any transaction.
dnf history undo <transaction-spec>|<package-file-spec>
Perform the opposite operation to all operations performed in the specified transaction. Uses the last transaction (with the highest ID) if more than one transaction for