Red Hat Bugzilla – Bug 1466649
[DNF] rpm.RPMCALLBACK_ELEM_PROGRESS does not exist
Last modified: 2018-04-10 11:59:42 EDT
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. ***
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.