I am currently unable to download/install anything using pamac

I am currently unable to install anything using the add/remove software program or via pamac install in the terminal. In the terminal, when I run sudo pamac install package-name I always receive the following error:
Error: Failed to prepare transaction: invalid or corrupted database
When running pamac update --no-aur it fails with the output:
Preparing…
Synchronizing package databases…
Refreshing core.db…
Refreshing extra.db…
Refreshing community.db…
Refreshing multilib.db…
Error: multilib.db: GPGME error: No data
Error: multilib.db: GPGME error: No data
Error: multilib.db: GPGME error: No data
Error: multilib.db: GPGME error: No data
invalid or corrupted database (PGP signature)
Failed to synchronize databases
Nothing to do.
Transaction successfully finished.

I also get this same error when using the add/remove software GUI. Posts I have seen while researching this are always trying to change settings with pacman but it seems to me this is a pamac issue. Pacman is working just fine. I have refreshed my mirrors and also ran sudo rm -R /var/lib/pacman/sync which seemed to work for some users but not for me. Any help would be appreciated.

You’re the goat! It worked! Thank you! @brahma

There is some discussion on when to run pamac with sudo, a good summary is here:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.