Bug 1490537

Summary: [abrt] dnf: _hcmd_undo(): __init__.py:888:_hcmd_undo:IndexError: list index out of range
Product: [Fedora] Fedora Reporter: Valentin Kulesh <leshy>
Component: dnfAssignee: Jaroslav Rohel <jrohel>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: ignatenko, jmracek, jrohel, packaging-team-maint, rpm-software-management, vmukhame
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/19ef674b5334c5d70da02a5ae4f986a5f6f13a24
Whiteboard: abrt_hash:4225ede4d943d60e97c50020907b0c0905c05e67;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-15 10:37:39 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:
Description Flags
File: _var_log_dnf.log
none
File: backtrace
none
File: cgroup
none
File: cpuinfo
none
File: dnf-makecache.log
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Valentin Kulesh 2017-09-11 21:18:33 UTC
Version-Release number of selected component:
dnf-2.6.3-4.fc27

Additional info:
reporter:       libreport-2.9.2
cmdline:        /usr/bin/python3 /bin/dnf history undo 10-12
crash_function: _hcmd_undo
exception_type: IndexError
executable:     /bin/dnf
kernel:         4.13.0-1.fc27.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 1009, 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 0x7f2649c51080>

Potential duplicate: bug 1478115

Comment 1 Valentin Kulesh 2017-09-11 21:18:41 UTC
Created attachment 1324584 [details]
File: _var_log_dnf.log

Comment 2 Valentin Kulesh 2017-09-11 21:18:43 UTC
Created attachment 1324585 [details]
File: backtrace

Comment 3 Valentin Kulesh 2017-09-11 21:18:45 UTC
Created attachment 1324586 [details]
File: cgroup

Comment 4 Valentin Kulesh 2017-09-11 21:18:46 UTC
Created attachment 1324587 [details]
File: cpuinfo

Comment 5 Valentin Kulesh 2017-09-11 21:18:48 UTC
Created attachment 1324588 [details]
File: dnf-makecache.log

Comment 6 Valentin Kulesh 2017-09-11 21:18:49 UTC
Created attachment 1324589 [details]
File: environ

Comment 7 Valentin Kulesh 2017-09-11 21:18:51 UTC
Created attachment 1324590 [details]
File: mountinfo

Comment 8 Valentin Kulesh 2017-09-11 21:18:53 UTC
Created attachment 1324591 [details]
File: namespaces

Comment 9 Valentin Kulesh 2017-09-11 21:18:54 UTC
Created attachment 1324592 [details]
File: open_fds

Comment 10 Jaroslav Rohel 2017-09-15 10:37:39 UTC

*** This bug has been marked as a duplicate of bug 1478115 ***