Description of problem: "$ sudo dnf history summary" does not work. Version-Release number of selected component: dnf-0.6.4-1.fc21 Additional info: reporter: libreport-2.3.0 cmdline: /usr/bin/python -OO /bin/dnf history summary executable: /bin/dnf kernel: 3.18.3-201.fc21.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: output.py:1730:historySummaryCmd:ValueError: need more than 0 values to unpack Traceback (most recent call last): File "/bin/dnf", line 36, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 182, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 84, in main return _main(base, args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 134, in _main cli.run() File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1064, in run return self.command.run(self.base.extcmds) File "/usr/lib/python2.7/site-packages/dnf/cli/commands/__init__.py", line 1221, in run ret = self.output.historySummaryCmd(extcmds) File "/usr/lib/python2.7/site-packages/dnf/cli/output.py", line 1730, in historySummaryCmd tids, printall = self._history_list_transactions(extcmds) ValueError: need more than 0 values to unpack Local variables in innermost frame: self: <dnf.cli.output.Output object at 0x7faa94dc2c50> extcmds: [u'summary']
Created attachment 993125 [details] File: backtrace
Created attachment 993126 [details] File: environ
BTW although this command is advertised using "dnf history help", it does not work nor it is mentioned in man page. May be it is entirely unsupported?
Thank you for the report. Yes, since it is not documented, it is not supported. We should definitely fix at least the help message. Are you interested in having this command (and turning this into an RFE)? Can you share the use case with us?
I have no idea what this command is good for. I was curious just due to bug 1193914
OK, so until someone with a proper use case for the command appears, I'd handle this bug just as that "dnf history summary" should not print a traceback and rather print just a "No such command" message.
Works with me.
*** Bug 1199177 has been marked as a duplicate of this bug. ***
Fixed by commit https://github.com/rpm-software-management/dnf/commit/3f0dc6a3ef654797eff5f4b37210413af3bca519
hawkey-0.5.4-1.fc22,dnf-0.6.5-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/hawkey-0.5.4-1.fc22,dnf-0.6.5-1.fc22
hawkey-0.5.4-1.fc22,dnf-0.6.5-1.fc22 works
Package hawkey-0.5.4-1.fc22, dnf-0.6.5-1.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing hawkey-0.5.4-1.fc22 dnf-0.6.5-1.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-5337/hawkey-0.5.4-1.fc22,dnf-0.6.5-1.fc22 then log in and leave karma (feedback).
dnf-plugins-extras-0.0.6-2.fc22,yum-utils-1.1.31-505.fc22,yum-3.4.3-505.fc22,hawkey-0.5.4-1.fc22,dnf-0.6.5-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/dnf-plugins-extras-0.0.6-2.fc22,yum-utils-1.1.31-505.fc22,yum-3.4.3-505.fc22,hawkey-0.5.4-1.fc22,dnf-0.6.5-1.fc22
dnf-plugins-extras-0.0.6-2.fc22, yum-3.4.3-505.fc22, dnf-0.6.5-1.fc22, yum-utils-1.1.31-505.fc22, hawkey-0.5.4-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
dnf-plugins-core-0.1.5-2.fc21,dnf-0.6.4-5.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/dnf-plugins-core-0.1.5-2.fc21,dnf-0.6.4-5.fc21
dnf-plugins-core-0.1.5-2.fc21, dnf-0.6.4-5.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.