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 1970894 - [abrt] dnf: addErase(): transaction.py:103:addErase:_rpm.error: package not installed
Summary: [abrt] dnf: addErase(): transaction.py:103:addErase:_rpm.error: package not i...
Keywords:
Status: CLOSED DUPLICATE of bug 1887293
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 34
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:7b286f8e7a59c251f2dd8a392cd...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-11 12:13 UTC by Saurabh Pradhan
Modified: 2021-06-14 11:34 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-14 11:34:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: _var_log_dnf.log (557.05 KB, text/plain)
2021-06-11 12:13 UTC, Saurabh Pradhan
no flags Details
File: backtrace (1.43 KB, text/plain)
2021-06-11 12:13 UTC, Saurabh Pradhan
no flags Details
File: cpuinfo (2.53 KB, text/plain)
2021-06-11 12:13 UTC, Saurabh Pradhan
no flags Details
File: dnf-makecache.log (1.64 KB, text/plain)
2021-06-11 12:13 UTC, Saurabh Pradhan
no flags Details
File: environ (2.19 KB, text/plain)
2021-06-11 12:13 UTC, Saurabh Pradhan
no flags Details
File: mountinfo (3.07 KB, text/plain)
2021-06-11 12:13 UTC, Saurabh Pradhan
no flags Details
File: namespaces (172 bytes, text/plain)
2021-06-11 12:13 UTC, Saurabh Pradhan
no flags Details
File: open_fds (3.13 KB, text/plain)
2021-06-11 12:13 UTC, Saurabh Pradhan
no flags Details

Description Saurabh Pradhan 2021-06-11 12:13:06 UTC
Version-Release number of selected component:
dnf-4.7.0-1.fc34

Additional info:
reporter:       libreport-2.15.2
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-3e334684-9c5f-4339-85d7-1d708e45c53b.scope
cmdline:        /usr/bin/python3 /usr/bin/dnf update
crash_function: addErase
exception_type: _rpm.error
executable:     /usr/bin/dnf
interpreter:    python3-3.9.5-2.fc34.x86_64
kernel:         5.11.12-300.fc34.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
transaction.py:103:addErase:_rpm.error: package not installed

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.9/site-packages/dnf/cli/main.py", line 201, in user_main
    errcode = main(args)
  File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 67, in main
    return _main(base, args, cli_class, option_parser_class)
  File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 106, in _main
    return cli_run(cli, base)
  File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 130, in cli_run
    ret = resolving(cli, base)
  File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 176, in resolving
    base.do_transaction(display=displays)
  File "/usr/lib/python3.9/site-packages/dnf/cli/cli.py", line 246, in do_transaction
    tid = super(BaseCli, self).do_transaction(display)
  File "/usr/lib/python3.9/site-packages/dnf/base.py", line 896, in do_transaction
    self.history.beg(rpmdb_version, [], [], cmdline)
  File "/usr/lib/python3.9/site-packages/dnf/db/group.py", line 320, in _populate_rpm_ts
    hdr = tsi.pkg._header
  File "/usr/lib64/python3.9/site-packages/rpm/transaction.py", line 103, in addErase
    raise rpm.error("package not installed")
_rpm.error: package not installed

Local variables in innermost frame:
self: <rpm.transaction.TransactionSet object at 0x7f50c5684ac0>
item: 528
hdrs: []
dbi: 0

Potential duplicate: bug 1887293

Comment 1 Saurabh Pradhan 2021-06-11 12:13:15 UTC
Created attachment 1790197 [details]
File: _var_log_dnf.log

Comment 2 Saurabh Pradhan 2021-06-11 12:13:17 UTC
Created attachment 1790198 [details]
File: backtrace

Comment 3 Saurabh Pradhan 2021-06-11 12:13:19 UTC
Created attachment 1790199 [details]
File: cpuinfo

Comment 4 Saurabh Pradhan 2021-06-11 12:13:21 UTC
Created attachment 1790200 [details]
File: dnf-makecache.log

Comment 5 Saurabh Pradhan 2021-06-11 12:13:23 UTC
Created attachment 1790201 [details]
File: environ

Comment 6 Saurabh Pradhan 2021-06-11 12:13:25 UTC
Created attachment 1790202 [details]
File: mountinfo

Comment 7 Saurabh Pradhan 2021-06-11 12:13:27 UTC
Created attachment 1790203 [details]
File: namespaces

Comment 8 Saurabh Pradhan 2021-06-11 12:13:29 UTC
Created attachment 1790204 [details]
File: open_fds

Comment 9 Marek Blaha 2021-06-14 11:34:17 UTC

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


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