-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
fix order of dnf api operations so transactions don't fail #50038
fix order of dnf api operations so transactions don't fail #50038
Conversation
Previously dnf.base.fill_sack() was called before dnf.base.update_cache() which apparently breaks dnf transaction logic as per https://bugzilla.redhat.com/show_bug.cgi?id=1658694 Fixes ansible#49060 Signed-off-by: Adam Miller <admiller@redhat.com>
Approval from me. Add a changelog to make it easy to backport and then it's good to merge from me |
Signed-off-by: Adam Miller <admiller@redhat.com>
rebuild_merge |
bot_status |
Componentschangelogs/fragments/dnf-update-cache-broken-transaction.yaml lib/ansible/modules/packaging/os/dnf.py test/integration/targets/dnf/tasks/dnf.yml Metadatawaiting_on: ansible |
…0038) * fix order of dnf api operations so transactions don't fail Previously dnf.base.fill_sack() was called before dnf.base.update_cache() which apparently breaks dnf transaction logic as per https://bugzilla.redhat.com/show_bug.cgi?id=1658694 Fixes ansible#49060 Signed-off-by: Adam Miller <admiller@redhat.com> * add changelog and test case Signed-off-by: Adam Miller <admiller@redhat.com> (cherry picked from commit ca08488)
* fix order of dnf api operations so transactions don't fail Previously dnf.base.fill_sack() was called before dnf.base.update_cache() which apparently breaks dnf transaction logic as per https://bugzilla.redhat.com/show_bug.cgi?id=1658694 Fixes #49060 Signed-off-by: Adam Miller <admiller@redhat.com> * add changelog and test case Signed-off-by: Adam Miller <admiller@redhat.com> (cherry picked from commit ca08488)
…0038) * fix order of dnf api operations so transactions don't fail Previously dnf.base.fill_sack() was called before dnf.base.update_cache() which apparently breaks dnf transaction logic as per https://bugzilla.redhat.com/show_bug.cgi?id=1658694 Fixes ansible#49060 Signed-off-by: Adam Miller <admiller@redhat.com> * add changelog and test case Signed-off-by: Adam Miller <admiller@redhat.com>
Signed-off-by: Adam Miller admiller@redhat.com
SUMMARY
Previously dnf.base.fill_sack() was called before
dnf.base.update_cache() which apparently breaks dnf transaction
logic as per https://bugzilla.redhat.com/show_bug.cgi?id=1658694
Fixes #49060
ISSUE TYPE
COMPONENT NAME
dnf