On 6/13/20 11:57 AM, stan via users wrote:
On Sat, 13 Jun 2020 12:43:47 -0400
Bob Goodwin <bobgoodwin@xxxxxxxxxxx> wrote:
Error: SQLite error on "/var/lib/dnf/history.sqlite": Reading a row
failed: database disk image is malformed
I have not rebboted or logged out since doing that, if that is
requured? But the erro messag always points to SQLite ...
Should not be required. Would you show the output of
ls -nZ /var/lib/dnf/*
The folder /var/lib/dnf is owned by the package dnf-data, but no
package owns the files in /var/lib/dnf/. They have to be
created by the system after install. My system shows
-rw-r--r--. 1 0 0 system_u:object_r:rpm_var_lib_t:s0 13979648 Jun 13 11:21 /var/lib/dnf/history.sqlite
-rw-r--r--. 1 0 0 system_u:object_r:rpm_var_lib_t:s0 32768 Jun 13 11:21 /var/lib/dnf/history.sqlite-shm
-rw-r--r--. 1 0 0 system_u:object_r:rpm_var_lib_t:s0 4144752 Jun 12 10:39 /var/lib/dnf/history.sqlite-wal
Something strange is going on with this history.
man dnf says that history will be saved 'assuming the history_record
configuration option is set'
but man dnf.conf shows no such option. Oversight, or is it always
turned on now, and that option is obsolete?
His history database has become corrupted somehow. Several people have
explained how to delete it and Jerry rep[lied to the other thread with a
possible way to recover the database.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx