Bug 1466649 - [DNF] rpm.RPMCALLBACK_ELEM_PROGRESS does not exist
[DNF] rpm.RPMCALLBACK_ELEM_PROGRESS does not exist
Status: VERIFIED
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rpm (Show other bugs)
7.5
Unspecified Unspecified
unspecified Severity unspecified
: pre-dev-freeze
: ---
Assigned To: Igor Gnatenko
Jan Blazek
:
: 1466768 (view as bug list)
Depends On:
Blocks: 1461652 1465896 1466368
  Show dependency treegraph
 
Reported: 2017-06-30 03:19 EDT by Daniel Mach
Modified: 2017-12-12 03:22 EST (History)
6 users (show)

See Also:
Fixed In Version: rpm-4.11.3-27.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Daniel Mach 2017-06-30 03:19:32 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'
Comment 1 Panu Matilainen 2017-06-30 03:40:41 EDT
This should be fairly trivial to backport.
Comment 2 Panu Matilainen 2017-06-30 03:42:53 EDT
For reference, the relevant upstream commits are:
448db68ceb5be3c7171b7ec0ea908d905792dc2f
124ed29259b05fdf574d5e3e145bc1201b24ae4d
Comment 3 Panu Matilainen 2017-06-30 08:23:30 EDT
*** Bug 1466768 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.