When running pamac update
in terminal, I get the following error:
Synchronizing package databases...
Error: mesa-nonfree: signature from "Mesa Freeworld <info@manjaro.download>" is invalid
Refreshing mesa-nonfree.db...
Error: multilib.db: mesa-nonfree: signature from "Mesa Freeworld <info@manjaro.download>" is invalid
Failed to synchronize databases
After this, the update fails as:
Error: Failed to prepare transaction: invalid or corrupted database
I followed the steps cited in https://nonfree.eu/, and all of them were executed without errors. Also checked the concerned files and they had correct changes.
On running ‘Refresh databases’ in pamac, I get the following:
Preparing...
Synchronizing package databases...
Refreshing mesa-nonfree.db...
Refreshing core.db...
Refreshing extra.db...
Refreshing community.db...
Refreshing multilib.db...
Refreshing mesa-nonfree.files...
Refreshing core.files...
Refreshing extra.files...
Refreshing community.files...
Refreshing multilib.files...
Error: multilib.files: mesa-nonfree: signature from "Mesa Freeworld <info@manjaro.download>" is invalid
Refreshing AUR...
Nothing to do.
Transaction successfully finished.
When using pacman -Syyu
, I get no such error and update completes normally, so this problem seems specific to pamac. How do I resolve it?
Edit
Idk why last post was marked as solution, but simply deleting the old database did the trick for me
sudo rm -f /var/lib/pacman/sync/*