Red Hat Bugzilla – Bug 1466768
[DNF] 'module' object has no attribute 'RPMCALLBACK_ELEM_PROGRESS'
Last modified: 2017-06-30 08:23:30 EDT
Description of problem:
This currently blocks DNF running on RHEL 7:
Running transaction test
Traceback (most recent call last):
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'
TypeError: an integer is required
FATAL ERROR: python callback <bound method RPMTransaction.callback of <dnf.yum.rpmtrans.RPMTransaction object at 0x492ff10>> failed, aborting!
*** This bug has been marked as a duplicate of bug 1466649 ***