Re: No DNF updating again today -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

Try this.
Edit /etc/dnf/dnf.conf and in the [main] section add the line
history_record=True
Then, as root, delete the files
/var/lib/dnf/history.sqlite*
yet one more time.
Run dnf update again, and see if the files
/var/lib/dnf/*
are created.

Post the output of the ls command given above again.
ls -nZ /var/lib/dnf/*
_______________________________________________
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux