mirror of https://github.com/ansible/ansible.git
fix order of dnf api operations so transactions don't fail (#50038)
* 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 ca084889c7)
pull/50616/head
parent
aeb9b9d37f
commit
853d464ed1
@ -0,0 +1,3 @@
|
||||
---
|
||||
bugfixes:
|
||||
- "dnf - fix update_cache combined with install operation to not cause dnf transaction failure"
|
||||
Loading…
Reference in New Issue