On Tue, Sep 11, 2018 at 9:26 PM Adam Williamson
<adamwill(a)fedoraproject.org> wrote:
Can anyone who is still struggling with DNF crashes on *basic*
operations on F29 or Rawhide please reply, and provide a few details on
what you're seeing and any workarounds or fixes you've found?
FWIW, I never hit such problem.
The only way to get in troubles consists in hammering the history.sqlite file:
echo 1 > /var/lib/dnf/history.sqlite
Now almost all dnf operations fails (except dnf search):
dnf update
...
RuntimeError: C++ std::exception: Exec failed: file is not a database
And in the journal:
Sep 14 10:20:11 hostname python3[8830]: detected unhandled Python
exception in '/usr/bin/dnf'
Sep 14 10:20:11 hostname abrt-notification[8856]: Process 8830 (dnf)
of user 0 encountered an uncaught RuntimeError exception
-- Subject: ABRT has detected an uncaught RuntimeError exception in dnf
...
Deleting the "corrupted" history.sqlite, it restores the normal situation.
Ciao,
A.