db5 error(11) from dbenv->open: Resource temporarily unavailable when doing dnf install

If you are having an issue similar to this message The issue is likely due to a locked or corrupted database caused by an interrupted dnf process Step 1: Remove RPM Database Locks: Step 2: Rebuild the Database Step 3: Clear all cache data to remove inconsistencies References: https://unix.stackexchange.com/questions/634676/criticalyum-main