The Problem
After working reliably for months, Flatpak began throwing a GPG verification error whenever I tried to update or install applications:
# Attempt to update Flatpaks
flatpak update
# ERROR SHOWN
# error: Unable to load summary from remote flathub: GPG verification enabled, but no summary found (check that the configured URL in remote config is correct)
The Flathub remote configuration and URL looked correct:
flatpak remotes -d
# OUTPUT
# Name Title URL Collection ID Subset Filter Priority Options
# flathub Flathub https://dl.flathub.org/repo/ - - - 1 system
Standard troubleshooting steps didn’t resolve the issue:
- Verified the GPG file was present in the system.
- Cleared Flatpak cache.
- Ran
flatpak repair.
The Solution
Remove and reinstall the Flathub remote. Your installed applications won’t be affected (there is no need to uninstall any app).
Step 1: Remove the Remote Configuration
Edit /var/lib/flatpak/repo/config and delete the entire [remote "flathub"] section:
# Edit "/var/lib/flatpak/repo/config"
vim /var/lib/flatpak/repo/config
# Remove this whole [remote] section:
# [remote "flathub"]
# url=https://dl.flathub.org/repo/
# xa.title=Flathub
# gpg-verify=true
# gpg-verify-summary=true
# xa.comment=Central repository of Flatpak applications
# xa.description=Central repository of Flatpak applications
# xa.icon=https://dl.flathub.org/repo/logo.svg
# xa.homepage=https://flathub.org/
Step 2: Reinstall the Flathub Remote
Add the remote back using the official setup command for your distribution:
# Re-install Flathub in Fedora
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
Verify the Fix
- Test that everything works.
- Updating Flatpaks should now go as expected. No more warnings or errors.
flatpak update