Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1601877 - RuntimeError: TransactionItem not found for key: grub2-tools-minimal
Summary: RuntimeError: TransactionItem not found for key: grub2-tools-minimal
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1603065 1603148 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-17 11:54 UTC by Kamil Páral
Modified: 2018-09-15 01:51 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-23 11:11:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
dnf.librepo.log (474.90 KB, text/plain)
2018-07-17 11:57 UTC, Kamil Páral
no flags Details
dnf.log (145.88 KB, text/plain)
2018-07-17 11:57 UTC, Kamil Páral
no flags Details
dnf.rpm.log (58.84 KB, text/plain)
2018-07-17 11:57 UTC, Kamil Páral
no flags Details
trace1 (36.56 KB, image/png)
2018-07-17 11:59 UTC, Kamil Páral
no flags Details
trace2 (37.38 KB, image/png)
2018-07-17 11:59 UTC, Kamil Páral
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1629340 0 unspecified CLOSED PackageKit update crashes at end of transaction with "TransactionItem state is not set: grub2-tools-1:2.02-57.fc29.x86_6... 2022-05-16 11:32:56 UTC

Internal Links: 1629340

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. ***


Note You need to log in before you can comment on or make changes to this bug.