Red Hat Bugzilla – Bug 1466649
[DNF] rpm.RPMCALLBACK_ELEM_PROGRESS does not exist
Last modified: 2017-12-12 03:22:53 EST
This currently blocks DNF running on RHEL 7.
The feature has to be either backported into RPM (preferred) or we need to find a workaround in the DNF code.
File "/usr/lib/python2.7/site-packages/dnf/yum/rpmtrans.py", line 425, in callback
elif what == rpm.RPMCALLBACK_ELEM_PROGRESS:
AttributeError: 'module' object has no attribute 'RPMCALLBACK_ELEM_PROGRESS'
This should be fairly trivial to backport.
For reference, the relevant upstream commits are:
*** Bug 1466768 has been marked as a duplicate of this bug. ***