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>
This commit is contained in:
Adam Miller 2019-01-02 16:50:06 -06:00 committed by ansibot
commit ca084889c7
3 changed files with 13 additions and 9 deletions

View file

@ -0,0 +1,3 @@
---
bugfixes:
- "dnf - fix update_cache combined with install operation to not cause dnf transaction failure"