history: Keep reinstall action when reverting merged transaction items

When we have a sequence of transactions involving the reinstallation, upgrading, or downgrading of a package, which ultimately results in the package remaining at the same version, the expected behavior, when reverting the entire merged transaction, is that the package is reinstalled. This differs from the previous behavior, where the package would be removed from the system.

Resolves: https://issues.redhat.com/browse/RHEL-17494
This commit is contained in:
Jan Kolarik 2024-02-08 11:16:07 +00:00
parent 0b4b8cc894
commit d19a75f907
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ class HistoryCommand(commands.Command):
"Downgrade": "Upgraded", "Downgrade": "Upgraded",
"Downgraded": "Upgrade", "Downgraded": "Upgrade",
"Reinstalled": "Reinstall", "Reinstalled": "Reinstall",
"Reinstall": "Reinstalled", "Reinstall": "Reinstall",
"Obsoleted": "Install", "Obsoleted": "Install",
"Obsolete": "Obsoleted", "Obsolete": "Obsoleted",
"Reason Change": "Reason Change", "Reason Change": "Reason Change",