Description of problem: installing texlive-scheme-full: # dnf install texlive-scheme-full Version-Release number of selected component: dnf-1.1.10-2.fc25 Additional info: reporter: libreport-2.8.0 cmdline: /usr/libexec/system-python /usr/bin/dnf install texlive-scheme-full executable: /usr/bin/dnf kernel: 4.8.0-0.rc8.git0.1.fc25.x86_64 pkg_fingerprint: 4089 D8F2 FDB1 9C98 pkg_vendor: Fedora Project runlevel: N 5 type: Python3 uid: 0 Truncated backtrace: rpmtrans.py:237:_extract_str_cbkey:AssertionError Traceback (most recent call last): File "/usr/lib/python3.5/site-packages/dnf/yum/rpmtrans.py", line 427, in callback self._scriptError(bytes, total, h) File "/usr/lib/python3.5/site-packages/dnf/yum/rpmtrans.py", line 557, in _scriptError pkg, _, _ = self._extract_cbkey(h) File "/usr/lib/python3.5/site-packages/dnf/yum/rpmtrans.py", line 229, in _extract_cbkey return self._extract_str_cbkey(cbkey) File "/usr/lib/python3.5/site-packages/dnf/yum/rpmtrans.py", line 237, in _extract_str_cbkey assert(isinstance(name, basestring)) AssertionError Local variables in innermost frame: name: None self: <dnf.yum.rpmtrans.RPMTransaction object at 0x7ff6ae0c3a90> Potential duplicate: bug 1323425
Created attachment 1208273 [details] File: _var_log_dnf.log
Created attachment 1208274 [details] File: backtrace
Created attachment 1208275 [details] File: dnf-makecache.log
Created attachment 1208276 [details] File: environ
At the end of installation I got: var/tmp/rpm-tmp.pTTSYA: line 5: syntax error near unexpected token `else' /var/tmp/rpm-tmp.pTTSYA: line 5: ` else' warning: %triggerin(texlive-5:2016-6.20160520.fc25.x86_64) scriptlet failed, exit status 2 Traceback (most recent call last): File "/usr/lib/python3.5/site-packages/dnf/yum/rpmtrans.py", line 427, in callback self._scriptError(bytes, total, h) File "/usr/lib/python3.5/site-packages/dnf/yum/rpmtrans.py", line 557, in _scriptError pkg, _, _ = self._extract_cbkey(h) File "/usr/lib/python3.5/site-packages/dnf/yum/rpmtrans.py", line 229, in _extract_cbkey return self._extract_str_cbkey(cbkey) File "/usr/lib/python3.5/site-packages/dnf/yum/rpmtrans.py", line 237, in _extract_str_cbkey assert(isinstance(name, basestring)) AssertionError FATAL ERROR: python callback ??? failed, aborting!
*** Bug 1323425 has been marked as a duplicate of this bug. ***
*** Bug 1339101 has been marked as a duplicate of this bug. ***
Moral of the story: the transaction callback must never fail. By all means log unexpected events and values from there in dnf but don't use assert() in code called by rpm.
Yeah, as Panu writes. Thanks for the report, we will fix it.
This Bug is fixed in upstream version: dnf-1.1.10-3.fc25 It was fixed in commit https://github.com/rpm-software-management/dnf/commit/507acfe3c0f81f253621d116a7474e1081d979f5 from 8 Dec 2015 which was merged to dnf on Jun 29, 2016
(In reply to Štěpán Smetana from comment #10) > This Bug is fixed in upstream version: dnf-1.1.10-3.fc25 > > It was fixed in commit > https://github.com/rpm-software-management/dnf/commit/ > 507acfe3c0f81f253621d116a7474e1081d979f5 from 8 Dec 2015 which was merged to > dnf on Jun 29, 2016 that's not true.
(In reply to Igor Gnatenko from comment #11) > (In reply to Štěpán Smetana from comment #10) > > This Bug is fixed in upstream version: dnf-1.1.10-3.fc25 > > > > It was fixed in commit > > https://github.com/rpm-software-management/dnf/commit/ > > 507acfe3c0f81f253621d116a7474e1081d979f5 from 8 Dec 2015 which was merged to > > dnf on Jun 29, 2016 > > that's not true. actually, it's a bit lie. It's fixed in DNF 2.0, not 1.1.x