Fedora Account System
Red Hat Associate
Red Hat Customer
Version-Release number of selected component: dnf-4.2.23-2.fc33 Additional info: reporter: libreport-2.14.0 cgroup: 0::/user.slice/user-1000.slice/user/apps.slice/apps-org.gnome.Terminal.slice/vte-spawn-14c20747-7347-465a-93fb-9c35c9f1af2b.scope cmdline: /usr/bin/python3 /usr/bin/dnf upgrade --refresh -y crash_function: addErase exception_type: _rpm.error executable: /usr/bin/dnf interpreter: python3-3.9.0~rc1-2.fc33.x86_64 kernel: 5.8.6-301.fc33.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 243, in do_transaction tid = super(BaseCli, self).do_transaction(display) File "/usr/lib/python3.9/site-packages/dnf/base.py", line 825, in do_transaction self.transaction._populate_rpm_ts(self._ts) File "/usr/lib/python3.9/site-packages/dnf/db/group.py", line 333, in _populate_rpm_ts ts.addErase(tsi.pkg.idx) 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 0x7f7d44b2a640> item: 1496 hdrs: [] dbi: 0
Created attachment 1720816 [details] File: _var_log_dnf.log
Created attachment 1720817 [details] File: backtrace
Created attachment 1720819 [details] File: cpuinfo
Created attachment 1720820 [details] File: dnf-makecache.log
Created attachment 1720823 [details] File: environ
Created attachment 1720825 [details] File: mountinfo
Created attachment 1720826 [details] File: namespaces
Created attachment 1720828 [details] File: open_fds
It looks like that the problem was triggered by a change of rpmdb on the background. We are developing a patch that will provide a better information, but it will result in DNF termination.
It seems to happen when someone tries to update packages using the KDE tray icon but the actual packages have already been upgraded
*** Bug 1903866 has been marked as a duplicate of this bug. ***
*** Bug 1904773 has been marked as a duplicate of this bug. ***
*** Bug 1909509 has been marked as a duplicate of this bug. ***
*** Bug 1911249 has been marked as a duplicate of this bug. ***
*** Bug 1928564 has been marked as a duplicate of this bug. ***
PR: https://github.com/rpm-software-management/dnf/pull/1750 test: https://github.com/rpm-software-management/ci-dnf-stack/pull/978
Similar problem has been detected: This error was present when resuming my laptop reporter: libreport-2.14.0 cgroup: 0::/user.slice/user-1000.slice/user/app-gnome-Alacritty-244627.scope cmdline: /usr/bin/python3 /usr/bin/dnf update --all --refresh -y crash_function: addErase exception_type: _rpm.error executable: /usr/bin/dnf interpreter: python3-3.9.2-1.fc33.x86_64 kernel: 5.10.19-200.fc33.x86_64 package: dnf-4.6.0-1.fc33 reason: transaction.py:103:addErase:_rpm.error: package not installed runlevel: N 5 type: Python3 uid: 0
*** Bug 1948219 has been marked as a duplicate of this bug. ***
*** Bug 1952874 has been marked as a duplicate of this bug. ***
*** Bug 1970894 has been marked as a duplicate of this bug. ***
FEDORA-2021-78c5f8c03d has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
*** Bug 1976570 has been marked as a duplicate of this bug. ***
Similar problem has been detected: Not aware of how it happened. $ dnf update -y reporter: libreport-2.15.2 cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-f6f9e7ba-d034-40d4-82c5-2a4c63e11102.scope cmdline: /usr/bin/python3 /usr/bin/dnf update crash_function: addErase exception_type: _rpm.error executable: /usr/bin/dnf interpreter: python3-3.9.2-1.fc34.x86_64 kernel: 5.11.12-300.fc34.x86_64 package: dnf-4.6.1-1.fc34 reason: transaction.py:103:addErase:_rpm.error: package not installed runlevel: N 5 type: Python3 uid: 0