Pamac fails to refresh database for linux-surface repo
Pamac --version
Pamac 10.5.1-2 - libpamac 11.5.4-1
Variant in use
Both GUI and CLI are affected
Distribution
Arch
Desktop environment
KDE
What's not working
After adding the linux-surface repo along with its keys into the pacman keyring, Pamac throws errors complaining about an invalid or corrupted database. Attempting to install any package will fail due to the errors. Meanwhile, both Pacman and Paru work just fine with the new repo.
Doing a sudo pamac upgrade --force-refresh
results in:
Warning: Building packages as dynamic user
Warning: Setting build directory to /var/cache/pamac
Preparing...
Synchronizing package databases...
Refreshing core.db...
Refreshing extra.db...
Refreshing multilib.db...
Refreshing linux-surface.db...
Error: linux-surface.db: linux-surface: signature from "Linux-Surface Package Signer (signing-key for packages
in linux-surface package repositories) <luzmaximilian@gmail.com>" is invalid
invalid or corrupted database (PGP signature)
Refreshing core.files...
Refreshing extra.files...
Refreshing multilib.files...
Refreshing linux-surface.files...
Failed to synchronize databases
Refreshing AUR...
Nothing to do.
Transaction successfully finished.
Refreshing the databases via the GUI results in:
invalid or corrupted database (PGP signature)
Failed to synchronize databases
How to reproduce?
- Add the linux-surface repo into your
pacman.conf
- Attempt to do any transaction with Pamac
More information (optional)
This is the related bug report on the linux-surface Github repo: https://github.com/linux-surface/linux-surface/issues/746