Bug 1329926

Summary: [abrt] dnf: history.py:234:_add_replacement:ValueError: NEVRA was already removed: webkitgtk4-0:2.10.9-1.fc23.x86_64
Product: [Fedora] Fedora Reporter: Daniel Rindt <drindt>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: jsilhan, mluscon, mmraka, packaging-team-maint, pnemade, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/cc9953a147ee404c0792317f1a46f6d6d9752511
Whiteboard: abrt_hash:239a80f67e672e815f4540c34a0e4fe139100eb1;VARIANT_ID=workstation;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-25 07:05:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: _var_log_dnf.log
none
File: backtrace
none
File: dnf-makecache.log
none
File: environ none

Description Daniel Rindt 2016-04-25 02:27:05 UTC
Version-Release number of selected component:
dnf-1.1.8-1.fc23

Additional info:
reporter:       libreport-2.6.4
cmdline:        /usr/bin/python3 /bin/dnf history undo 18
executable:     /bin/dnf
kernel:         4.4.7-300.fc23.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
history.py:234:_add_replacement:ValueError: NEVRA was already removed: webkitgtk4-0:2.10.9-1.fc23.x86_64

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.4/site-packages/dnf/cli/main.py", line 174, in user_main
    errcode = main(args)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 60, in main
    return _main(base, args)
  File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 112, in _main
    cli.run()
  File "/usr/lib/python3.4/site-packages/dnf/cli/cli.py", line 1096, in run
    return self.command.run(self.base.extcmds)
  File "/usr/lib/python3.4/site-packages/dnf/cli/commands/__init__.py", line 1229, in run
    ret = self._hcmd_undo(extcmds[1:])
  File "/usr/lib/python3.4/site-packages/dnf/cli/commands/__init__.py", line 1125, in _hcmd_undo
    return self.base.history_undo_transaction(extcmd)
  File "/usr/lib/python3.4/site-packages/dnf/cli/cli.py", line 683, in history_undo_transaction
    self.history_undo_operations(history.transaction_nevra_ops(old.tid))
  File "/usr/lib/python3.4/site-packages/dnf/history.py", line 126, in transaction_nevra_ops
    operations.add(hpkg.state, hpkg.nevra, replaced_nevra, obsoleted_nevras)
  File "/usr/lib/python3.4/site-packages/dnf/history.py", line 384, in add
    self._add_replacement(state, nevra, replaced_nevra)
  File "/usr/lib/python3.4/site-packages/dnf/history.py", line 234, in _add_replacement
    raise ValueError('NEVRA was already removed: %s' % old_nevra)
ValueError: NEVRA was already removed: webkitgtk4-0:2.10.9-1.fc23.x86_64

Local variables in innermost frame:
new_nevra: 'webkitgtk4-0:2.12.1-1.fc23.x86_64'
self: <dnf.history.NEVRAOperations object at 0x7fdc44c61208>
new_state: None
old_nevra: 'webkitgtk4-0:2.10.9-1.fc23.x86_64'
state: 'Update'
old_state: 'Obsoleted'

Comment 1 Daniel Rindt 2016-04-25 02:27:13 UTC
Created attachment 1150237 [details]
File: _var_log_dnf.log

Comment 2 Daniel Rindt 2016-04-25 02:27:15 UTC
Created attachment 1150238 [details]
File: backtrace

Comment 3 Daniel Rindt 2016-04-25 02:27:36 UTC
Created attachment 1150239 [details]
File: dnf-makecache.log

Comment 4 Daniel Rindt 2016-04-25 02:27:38 UTC
Created attachment 1150240 [details]
File: environ

Comment 5 Michael Mráka 2016-04-25 07:05:14 UTC

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