Description of problem: I updated from F28 to F29. Once complete, I tried to run dnf check-update, dnf update. Each segfaulted. I am aware of a bug with the history file and a bug about concurrent access. However, I killed packagekitd and made sure it wasn't running at the same time. I can't even run dnf list. Version-Release number of selected component (if applicable): libdnf-0.19.1-3.fc29.x86_64 dnf-3.5.1-1.fc29.noarch How reproducible: Always Steps to Reproduce: 1. sudo dnf list|update|check-update Actual results: [gnat@iridium ~]$ sudo dnf -vvv list [sudo] password for gnat: Loaded plugins: builddep, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repograph, repomanage, reposync, system-upgrade DNF version: 3.5.1 cachedir: /var/cache/dnf repo: using cache for: adobe-linux-x86_64 not found modules for: Adobe Systems Incorporated not found deltainfo for: Adobe Systems Incorporated not found updateinfo for: Adobe Systems Incorporated adobe-linux-x86_64: using metadata from Mon 27 Aug 2018 04:15:56 PM MDT. repo: downloading from remote: Dropbox Dropbox Repository 19 kB/s | 25 kB 00:01 Cannot download 'http://linux.dropbox.com/fedora/29/': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried. repo: using cache for: fedora-modular not found deltainfo for: Fedora Modular 29 - x86_64 not found updateinfo for: Fedora Modular 29 - x86_64 fedora-modular: using metadata from Sun 23 Sep 2018 04:24:46 AM MDT. repo: using cache for: updates-modular not found modules for: Fedora Modular 29 - x86_64 - Updates not found deltainfo for: Fedora Modular 29 - x86_64 - Updates not found updateinfo for: Fedora Modular 29 - x86_64 - Updates updates-modular: using metadata from Tue 20 Feb 2018 12:18:14 PM MST. repo: using cache for: updates-testing-modular not found deltainfo for: Fedora Modular 29 - x86_64 - Test Updates updates-testing-modular: using metadata from Fri 21 Sep 2018 05:42:33 AM MDT. repo: using cache for: updates-testing not found modules for: Fedora 29 - x86_64 - Test Updates updates-testing: using metadata from Sun 23 Sep 2018 02:37:40 PM MDT. repo: using cache for: updates not found modules for: Fedora 29 - x86_64 - Updates not found deltainfo for: Fedora 29 - x86_64 - Updates not found updateinfo for: Fedora 29 - x86_64 - Updates updates: using metadata from Tue 20 Feb 2018 12:18:14 PM MST. repo: using cache for: fedora not found modules for: Fedora 29 - x86_64 not found deltainfo for: Fedora 29 - x86_64 not found updateinfo for: Fedora 29 - x86_64 fedora: using metadata from Sun 23 Sep 2018 04:24:03 AM MDT. repo: using cache for: google-chrome not found modules for: google-chrome not found deltainfo for: google-chrome not found updateinfo for: google-chrome google-chrome: using metadata from Tue 25 Sep 2018 11:04:43 AM MDT. repo: using cache for: google-talkplugin not found modules for: google-talkplugin not found deltainfo for: google-talkplugin not found updateinfo for: google-talkplugin google-talkplugin: using metadata from Mon 14 Dec 2015 01:18:18 PM MST. repo: using cache for: rpmfusion-free-updates-testing not found modules for: RPM Fusion for Fedora 29 - Free - Test Updates not found deltainfo for: RPM Fusion for Fedora 29 - Free - Test Updates not found updateinfo for: RPM Fusion for Fedora 29 - Free - Test Updates rpmfusion-free-updates-testing: using metadata from Tue 25 Sep 2018 04:12:34 AM MDT. repo: using cache for: rpmfusion-free not found modules for: RPM Fusion for Fedora 29 - Free not found deltainfo for: RPM Fusion for Fedora 29 - Free not found updateinfo for: RPM Fusion for Fedora 29 - Free rpmfusion-free: using metadata from Tue 25 Sep 2018 04:27:23 AM MDT. repo: using cache for: rpmfusion-nonfree-updates-testing not found modules for: RPM Fusion for Fedora 29 - Nonfree - Test Updates not found deltainfo for: RPM Fusion for Fedora 29 - Nonfree - Test Updates not found updateinfo for: RPM Fusion for Fedora 29 - Nonfree - Test Updates rpmfusion-nonfree-updates-testing: using metadata from Tue 25 Sep 2018 04:44:23 AM MDT. repo: using cache for: rpmfusion-nonfree not found modules for: RPM Fusion for Fedora 29 - Nonfree not found deltainfo for: RPM Fusion for Fedora 29 - Nonfree not found updateinfo for: RPM Fusion for Fedora 29 - Nonfree rpmfusion-nonfree: using metadata from Tue 25 Sep 2018 04:50:40 AM MDT. repo: using cache for: skype-stable not found modules for: skype (stable) not found deltainfo for: skype (stable) not found updateinfo for: skype (stable) skype-stable: using metadata from Tue 25 Sep 2018 03:10:05 AM MDT. Failed to synchronize cache for repo 'Dropbox', ignoring this repo. Last metadata expiration check: 1:49:40 ago on Tue 25 Sep 2018 12:23:08 PM MDT. Completion plugin: Generating completion cache... Segmentation fault Expected results: a list of packages Additional info: PID: 22814 (dnf) UID: 0 (root) GID: 0 (root) Signal: 11 (SEGV) Timestamp: Tue 2018-09-25 14:06:51 MDT (1min 23s ago) Command Line: /usr/bin/python3 /usr/bin/dnf -vvv list Executable: /usr/bin/python3.7 Control Group: /user.slice/user-1000.slice/user/gnome-terminal-server.service Unit: user User Unit: gnome-terminal-server.service Slice: user-1000.slice Owner UID: 1000 (gnat) Boot ID: af32072ea81649a6b595cc6721851057 Machine ID: 4b7f4be128a74059b76a076cde716f8a Hostname: iridium.noblet.ca Storage: /var/lib/systemd/coredump/core.dnf.0.af32072ea81649a6b595cc6721851057.22814.1537906011000000.lz4 (inaccessible) Message: Process 22814 (dnf) of user 0 dumped core. Stack trace of thread 22814: #0 0x00007f647809512b _ZN6libdnf15TransactionItem14saveReplacedByEv (libdnf.so.2) #1 0x00007f64780a1a4a _ZN6libdnf12swdb_private11Transaction9saveItemsEv (libdnf.so.2) #2 0x00007f647809b582 _ZN6libdnf11Transformer14transformTransESt10shared_ptrI7SQLite3ES3_ (libdnf.so.2) #3 0x00007f647809cc7e _ZN6libdnf11Transformer9transformEv (libdnf.so.2) #4 0x00007f647808665b _ZN6libdnf4SwdbC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE (libdnf.so.2) #5 0x00007f64769037df n/a (_transaction.so) #6 0x00007f6485dc0563 PyCFunction_Call (libpython3.7m.so.1.0) #7 0x00007f6485e5e656 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0) #8 0x00007f6485da0506 _PyEval_EvalCodeWithName (libpython3.7m.so.1.0) #9 0x00007f6485da17d7 _PyFunction_FastCallDict (libpython3.7m.so.1.0) #10 0x00007f6485db09c6 _PyObject_Call_Prepend (libpython3.7m.so.1.0) #11 0x00007f6485dff011 n/a (libpython3.7m.so.1.0) #12 0x00007f6485e11eb9 _PyObject_FastCallKeywords (libpython3.7m.so.1.0) #13 0x00007f6485e5dc05 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0) #14 0x00007f6485da15fa _PyFunction_FastCallDict (libpython3.7m.so.1.0) #15 0x00007f6485dc066e n/a (libpython3.7m.so.1.0) #16 0x00007f6485d9f6a5 _PyObject_GenericGetAttrWithDict (libpython3.7m.so.1.0) #17 0x00007f6485e58819 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0) #18 0x00007f6485de70ca _PyFunction_FastCallKeywords (libpython3.7m.so.1.0) #19 0x00007f6485e58461 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0) #20 0x00007f6485da15fa _PyFunction_FastCallDict (libpython3.7m.so.1.0) #21 0x00007f6485dc066e n/a (libpython3.7m.so.1.0) #22 0x00007f6485d9f6a5 _PyObject_GenericGetAttrWithDict (libpython3.7m.so.1.0) #23 0x00007f6485e58819 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0) #24 0x00007f6485da0506 _PyEval_EvalCodeWithName (libpython3.7m.so.1.0) #25 0x00007f6485de7271 _PyFunction_FastCallKeywords (libpython3.7m.so.1.0) #26 0x00007f6485e5861c _PyEval_EvalFrameDefault (libpython3.7m.so.1.0) #27 0x00007f6485de70ca _PyFunction_FastCallKeywords (libpython3.7m.so.1.0) #28 0x00007f6485e5861c _PyEval_EvalFrameDefault (libpython3.7m.so.1.0) #29 0x00007f6485da0506 _PyEval_EvalCodeWithName (libpython3.7m.so.1.0) #30 0x00007f6485de7271 _PyFunction_FastCallKeywords (libpython3.7m.so.1.0) #31 0x00007f6485e58461 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0) #32 0x00007f6485de70ca _PyFunction_FastCallKeywords (libpython3.7m.so.1.0) #33 0x00007f6485e58461 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0) #34 0x00007f6485de70ca _PyFunction_FastCallKeywords (libpython3.7m.so.1.0) #35 0x00007f6485e58461 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0) #36 0x00007f6485de70ca _PyFunction_FastCallKeywords (libpython3.7m.so.1.0) #37 0x00007f6485e5861c _PyEval_EvalFrameDefault (libpython3.7m.so.1.0) #38 0x00007f6485de70ca _PyFunction_FastCallKeywords (libpython3.7m.so.1.0) #39 0x00007f6485e5861c _PyEval_EvalFrameDefault (libpython3.7m.so.1.0) #40 0x00007f6485da0506 _PyEval_EvalCodeWithName (libpython3.7m.so.1.0) #41 0x00007f6485de7271 _PyFunction_FastCallKeywords (libpython3.7m.so.1.0) #42 0x00007f6485e5861c _PyEval_EvalFrameDefault (libpython3.7m.so.1.0) #43 0x00007f6485da0506 _PyEval_EvalCodeWithName (libpython3.7m.so.1.0) #44 0x00007f6485de7271 _PyFunction_FastCallKeywords (libpython3.7m.so.1.0) #45 0x00007f6485e594ea _PyEval_EvalFrameDefault (libpython3.7m.so.1.0) #46 0x00007f6485da0506 _PyEval_EvalCodeWithName (libpython3.7m.so.1.0) #47 0x00007f6485da14b3 PyEval_EvalCodeEx (libpython3.7m.so.1.0) #48 0x00007f6485da14db PyEval_EvalCode (libpython3.7m.so.1.0) #49 0x00007f6485ec5ca2 n/a (libpython3.7m.so.1.0) #50 0x00007f6485ec778a PyRun_FileExFlags (libpython3.7m.so.1.0) #51 0x00007f6485ec8988 PyRun_SimpleFileExFlags (libpython3.7m.so.1.0) #52 0x00007f6485eca20d n/a (libpython3.7m.so.1.0) #53 0x00007f6485eca6e0 _Py_UnixMain (libpython3.7m.so.1.0) #54 0x00007f6485938413 __libc_start_main (libc.so.6) #55 0x000055645fe5708e _start (python3.7)
and of course this *is* the history bug. Removing files from /var/lib/dnf/history fixes the issue. *** This bug has been marked as a duplicate of bug 1600917 ***