Re: Is there a procedure to rebuild /var/lib/dnf/history.sqlite? (Chris Murphy)

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

 



First, this shouldn't be necessary, therefore I'm kinda suspicious.
But it's inspecific suspicion. Maybe it is conversion.

I also don't know if this will fix the SQLite I/O errors, or make
things worse, in which case you'd lose dnf history (probably not a big
loss).

sudo -i
cd /var/lib/dnf/
sqlite3 history.sqlite 'VACUUM;'

That cleans the database. It will delete the other two files which
will reappear later once dnf starts writing to this database again.

--
Chris Murphy
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-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/test@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux