Bug 1478115
| Summary: | [abrt] dnf: _hcmd_undo(): __init__.py:888:_hcmd_undo:IndexError: list index out of range | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | tpypta | ||||||||||||||||||||
| Component: | dnf | Assignee: | Jaroslav Rohel <jrohel> | ||||||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||
| Version: | 26 | CC: | dmach, jrohel, leshy, mhatina, packaging-team-maint, rpm-software-management, thomas, vmukhame | ||||||||||||||||||||
| Target Milestone: | --- | Keywords: | Triaged | ||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/98ef7e7657d803727e8880faf308bb04303900ad | ||||||||||||||||||||||
| Whiteboard: | abrt_hash:4225ede4d943d60e97c50020907b0c0905c05e67;VARIANT_ID=workstation; | ||||||||||||||||||||||
| Fixed In Version: | dnf-2.7.2-1.fc27 dnf-2.7.2-1.fc26 | Doc Type: | If docs needed, set a value | ||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||
| Last Closed: | 2017-10-04 14:23:28 UTC | Type: | --- | ||||||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||
| Embargoed: | |||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||
Created attachment 1308772 [details]
File: _var_log_dnf.log
Created attachment 1308773 [details]
File: backtrace
Created attachment 1308774 [details]
File: cgroup
Created attachment 1308775 [details]
File: cpuinfo
Created attachment 1308776 [details]
File: dnf-makecache.log
Created attachment 1308777 [details]
File: environ
Created attachment 1308778 [details]
File: mountinfo
Created attachment 1308779 [details]
File: namespaces
Created attachment 1308780 [details]
File: open_fds
cmdline: /usr/libexec/system-python /bin/dnf history undo 122-126 1. "122..126" is right syntax for transaction ID range definition 2. "undo" command can be called only for one transaction ID I will prepare patch with better error handling. *** Bug 1473932 has been marked as a duplicate of this bug. *** *** Bug 1490537 has been marked as a duplicate of this bug. *** dnf-plugins-extras-2.0.3-1.fc27 dnf-plugins-core-2.1.4-1.fc27 dnf-2.7.2-1.fc27 libdnf-0.10.1-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-faf235c683 dnf-plugins-extras-2.0.3-1.fc26 dnf-plugins-core-2.1.4-1.fc26 dnf-2.7.2-1.fc26 libdnf-0.10.1-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-70a8618065 dnf-2.7.2-1.fc26, dnf-plugins-core-2.1.4-1.fc26, dnf-plugins-extras-2.0.3-1.fc26, libdnf-0.10.1-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-70a8618065 dnf-2.7.2-1.fc27, dnf-plugins-core-2.1.4-1.fc27, dnf-plugins-extras-2.0.3-1.fc27, libdnf-0.10.1-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-faf235c683 dnf-2.7.2-1.fc27, dnf-plugins-core-2.1.4-1.fc27, dnf-plugins-extras-2.0.3-1.fc27, libdnf-0.10.1-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. dnf-2.7.2-1.fc26, dnf-plugins-core-2.1.4-1.fc26, dnf-plugins-extras-2.0.3-1.fc26, libdnf-0.10.1-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. |
Version-Release number of selected component: dnf-2.6.2-1.fc26 Additional info: reporter: libreport-2.9.1 cmdline: /usr/libexec/system-python /bin/dnf history undo 122-126 crash_function: _hcmd_undo exception_type: IndexError executable: /bin/dnf kernel: 4.11.11-300.fc26.x86_64 runlevel: N 5 type: Python3 uid: 0 Truncated backtrace: __init__.py:888:_hcmd_undo:IndexError: list index out of range Traceback (most recent call last): File "/bin/dnf", line 58, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 179, in user_main errcode = main(args) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 64, in main return _main(base, args, cli_class, option_parser_class) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 99, in _main return cli_run(cli, base) File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 115, in cli_run cli.run() File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 1029, in run return self.command.run() File "/usr/lib/python3.6/site-packages/dnf/cli/commands/__init__.py", line 944, in run ret = self._hcmd_undo(extcmds) File "/usr/lib/python3.6/site-packages/dnf/cli/commands/__init__.py", line 888, in _hcmd_undo return self.base.history_undo_transaction(extcmds[0]) IndexError: list index out of range Local variables in innermost frame: extcmds: [] self: <dnf.cli.commands.HistoryCommand object at 0x7f7ef93f56d8>