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 1680975 - [abrt] dnf: endTransaction(): transaction.py:758:endTransaction:RuntimeError: TransactionItem state is not set: google-noto-cjk-fonts-common-20170602-8.fc29.noarch
Summary: [abrt] dnf: endTransaction(): transaction.py:758:endTransaction:RuntimeError:...
Keywords:
Status: CLOSED DUPLICATE of bug 1642796
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Mach
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:bc2ac1cc6f289c3bd2c86ecf050...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-25 15:47 UTC by David
Modified: 2019-03-08 15:29 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-08 15:29:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: _var_log_dnf.log (560.11 KB, text/plain)
2019-02-25 15:47 UTC, David
no flags Details
File: backtrace (1.92 KB, text/plain)
2019-02-25 15:47 UTC, David
no flags Details
File: cgroup (341 bytes, text/plain)
2019-02-25 15:47 UTC, David
no flags Details
File: cpuinfo (1015 bytes, text/plain)
2019-02-25 15:47 UTC, David
no flags Details
File: dnf-makecache.log (831 bytes, text/plain)
2019-02-25 15:47 UTC, David
no flags Details
File: environ (5.08 KB, text/plain)
2019-02-25 15:47 UTC, David
no flags Details
File: mountinfo (3.23 KB, text/plain)
2019-02-25 15:47 UTC, David
no flags Details
File: namespaces (129 bytes, text/plain)
2019-02-25 15:47 UTC, David
no flags Details
File: open_fds (1.06 KB, text/plain)
2019-02-25 15:47 UTC, David
no flags Details

Description David 2019-02-25 15:47:07 UTC
Version-Release number of selected component:
dnf-4.0.9-2.fc29

Additional info:
reporter:       libreport-2.10.0
cmdline:        /usr/bin/python3 /usr/bin/dnf remove *cjk*
crash_function: endTransaction
exception_type: RuntimeError
executable:     /usr/bin/dnf
interpreter:    python3-3.7.2-4.fc29.x86_64
kernel:         4.18.16-300.fc29.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
transaction.py:758:endTransaction:RuntimeError: TransactionItem state is not set: google-noto-cjk-fonts-common-20170602-8.fc29.noarch

Traceback (most recent call last):
  File "/usr/bin/dnf", line 58, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 179, in user_main
    errcode = main(args)
  File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 64, in main
    return _main(base, args, cli_class, option_parser_class)
  File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 99, in _main
    return cli_run(cli, base)
  File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 123, in cli_run
    ret = resolving(cli, base)
  File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 154, in resolving
    base.do_transaction(display=displays)
  File "/usr/lib/python3.7/site-packages/dnf/cli/cli.py", line 235, in do_transaction
    display = [display]
  File "/usr/lib/python3.7/site-packages/dnf/base.py", line 858, in do_transaction
    logger.info(_('Running transaction'))
  File "/usr/lib/python3.7/site-packages/dnf/base.py", line 1008, in _run_transaction
    # sync up what just happened versus what is in the rpmdb
  File "/usr/lib/python3.7/site-packages/dnf/base.py", line 1046, in _verify_transaction
  File "/usr/lib/python3.7/site-packages/dnf/db/history.py", line 498, in end
    self.swdb.addConsoleOutputLine(file_descriptor, line)
  File "/usr/lib64/python3.7/site-packages/libdnf/transaction.py", line 758, in endTransaction
    return _transaction.Swdb_endTransaction(self, dtEnd, rpmdbVersionEnd, state)
RuntimeError: TransactionItem state is not set: google-noto-cjk-fonts-common-20170602-8.fc29.noarch

Local variables in innermost frame:
self: <libdnf.transaction.Swdb; proxy of <Swig Object of type 'libdnf::Swdb *' at 0x7f87449d31e0> >
dtEnd: 1550670123
rpmdbVersionEnd: '1485:34030ee3b58882d32436f0dacd65d82ce05558e7'
state: True

Comment 1 David 2019-02-25 15:47:11 UTC
Created attachment 1538484 [details]
File: _var_log_dnf.log

Comment 2 David 2019-02-25 15:47:12 UTC
Created attachment 1538485 [details]
File: backtrace

Comment 3 David 2019-02-25 15:47:14 UTC
Created attachment 1538486 [details]
File: cgroup

Comment 4 David 2019-02-25 15:47:15 UTC
Created attachment 1538487 [details]
File: cpuinfo

Comment 5 David 2019-02-25 15:47:16 UTC
Created attachment 1538488 [details]
File: dnf-makecache.log

Comment 6 David 2019-02-25 15:47:17 UTC
Created attachment 1538489 [details]
File: environ

Comment 7 David 2019-02-25 15:47:19 UTC
Created attachment 1538490 [details]
File: mountinfo

Comment 8 David 2019-02-25 15:47:20 UTC
Created attachment 1538491 [details]
File: namespaces

Comment 9 David 2019-02-25 15:47:22 UTC
Created attachment 1538492 [details]
File: open_fds

Comment 10 Daniel Mach 2019-03-08 15:29:05 UTC
Based on the attached log, you've upgraded from dnf-4.0.4-1 to 4.0.9-2.

The problem is fixed in dnf-4.0.4-2 :
* Wed Nov 07 2018 Jaroslav Mracek <jmracek> - 4.0.4-2
- Backport fixes for RHBZ#1642796 from upstream master

https://bugzilla.redhat.com/show_bug.cgi?id=1642796

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


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