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

Summary: [abrt] dnf: addErase(): transaction.py:103:addErase:_rpm.error: package not installed
Product: [Fedora] Fedora Reporter: Saurabh Pradhan <pradhanphy>
Component: dnfAssignee: rpm-software-management
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: dmach, jmracek, jrohel, mblaha, mhatina, packaging-team-maint, pkratoch, rpm-software-management, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/eba512036e16ec572826f4d324cfa25be0c97f28
Whiteboard: abrt_hash:7b286f8e7a59c251f2dd8a392cdd264bc4c6bceb;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-14 11:34:17 UTC Type: ---
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
File: _var_log_dnf.log
none
File: backtrace
none
File: cpuinfo
none
File: dnf-makecache.log
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

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