-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected results in 'dnf history rollback' #2031
Unexpected results in 'dnf history rollback' #2031
Comments
I believe there is no merge happening, the docs for
Since you specified the |
My description may be a bit ambiguous
In versions using dnf-4.2.23 and libdnf-0.48.0
But in versions using dnf-4.14.0-10 and libdnf-0.69.0-2,‘dnf rollback 1’ will remove network-scripts |
I see, you are correct. Thank you for the reproducer. |
First problem version:dnf-4.6.0 |
@chenhaixing123 Thanks for looking into that! I will try to review the PR during the next week. |
Based on the changes of transaction merging behavior for packages with the same version, as introduced in: rpm-software-management/dnf#2031.
Based on the changes of transaction merging behavior for packages with the same version, as introduced in: rpm-software-management/dnf#2031.
Upstream commit: 8234f42 Based on the changes of transaction merging behavior for packages with the same version, as introduced in: rpm-software-management/dnf#2031. For: https://issues.redhat.com/browse/RHEL-17494
Upstream commit: 8234f42 Based on the changes of transaction merging behavior for packages with the same version, as introduced in: rpm-software-management/dnf#2031. For: https://issues.redhat.com/browse/RHEL-17494
Upstream commit: 8234f42 Based on the changes of transaction merging behavior for packages with the same version, as introduced in: rpm-software-management/dnf#2031. For: https://issues.redhat.com/browse/RHEL-17494
Upstream commit: 8234f42 Based on the changes of transaction merging behavior for packages with the same version, as introduced in: rpm-software-management/dnf#2031. For: https://issues.redhat.com/browse/RHEL-68770
Upstream commit: 8234f42 Based on the changes of transaction merging behavior for packages with the same version, as introduced in: rpm-software-management/dnf#2031. For: https://issues.redhat.com/browse/RHEL-68770
Version:
dnf-4.14.0-10
libdnf-0.69.0-2
here are the steps to reproduce the issue
1.dnf remove network-scripts
2.dnf install network-scripts
3.dnf history rollback 1
expected result:
reinstall network-scripts
actual results:
remove network-scripts
According to libdnf's processing logic for merge transaction, we should reinstall network-scripts,but dnf remove it.
The text was updated successfully, but these errors were encountered: