Bug 1601877

Summary: RuntimeError: TransactionItem not found for key: grub2-tools-minimal
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: dnfAssignee: rpm-software-management
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dmach, kusmabite, mblaha, mhabrnal, mhatina, ngompa13, packaging-team-maint, prd-fedora, rpm-software-management, vmukhame, vondruch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-23 11:11:13 UTC Type: Bug
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
dnf.librepo.log
none
dnf.log
none
dnf.rpm.log
none
trace1
none
trace2 none

Description Kamil Páral 2018-07-17 11:54:50 UTC
Description of problem:
I just tried to update my recently installed Rawhide VM and I saw many many dnf tracebacks during the operation.

One of them is:

2018-07-17T11:47:17Z CRITICAL Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/dnf/yum/rpmtrans.py", line 256, in callback
    self._unInstStop(key)
  File "/usr/lib/python3.7/site-packages/dnf/yum/rpmtrans.py", line 347, in _unInstStop
    _, _, tsi = self._extract_cbkey(key)
  File "/usr/lib/python3.7/site-packages/dnf/yum/rpmtrans.py", line 230, in _extract_cbkey
    raise RuntimeError("TransactionItem not found for key: %s" % cbkey)
RuntimeError: TransactionItem not found for key: grub2-tools-minimal

The other one seems to be missing from the logs, but I captured it as a screenshot.

Version-Release number of selected component (if applicable):
dnf-3.0.3-2.fc29

Comment 1 Kamil Páral 2018-07-17 11:57:13 UTC
Created attachment 1459406 [details]
dnf.librepo.log

Comment 2 Kamil Páral 2018-07-17 11:57:20 UTC
Created attachment 1459407 [details]
dnf.log

Comment 3 Kamil Páral 2018-07-17 11:57:25 UTC
Created attachment 1459408 [details]
dnf.rpm.log

Comment 4 Kamil Páral 2018-07-17 11:59:01 UTC
Created attachment 1459416 [details]
trace1

Comment 5 Kamil Páral 2018-07-17 11:59:20 UTC
Created attachment 1459417 [details]
trace2

Comment 6 Daniel Mach 2018-07-17 18:02:46 UTC
Proposed fix: https://github.com/rpm-software-management/dnf/pull/1134

Comment 7 Daniel Mach 2018-07-18 21:39:04 UTC
*** Bug 1601397 has been marked as a duplicate of this bug. ***

Comment 8 Daniel Mach 2018-07-19 11:34:05 UTC
*** Bug 1603148 has been marked as a duplicate of this bug. ***

Comment 9 Daniel Mach 2018-07-19 11:46:18 UTC
*** Bug 1603065 has been marked as a duplicate of this bug. ***