Need help fixing local pacman DB

Maybe this thread is helpful: