How to recover from deleted /var/lib/rpm/ SQL database rpm files?
I am on a Fedora Linux machine and made a terrible mistake by accidentally deleting the rpm SQL database files located in /var/lib/rpm
. I am not even sure what these files are used for. It seems to be causing issues with any package manager commands I make (e.g. dnf
) on the machine.