EXPKEYSIG means a repository signing key is expired or replaced. The fix is to refresh keys from trusted source and re-run package index update.
1) Identify failing repository
sudo apt update
Copy the exact repo URL and key ID from error output.
2) Refresh repository key safely
Use the vendor’s current key instructions. Prefer signed keyring files over deprecated global key store usage.
3) Re-test and clean stale metadata
sudo rm -rf /var/lib/apt/lists/*
sudo apt update
4) Security notes
- Do not bypass signature checks.
- Do not install packages from unsigned repos in production.
- Keep third-party repositories minimal.
Validation Commands
sudo systemctl --failed
sudo journalctl -p err -n 100
uname -a
Further reading: Ubuntu Server Documentation
Related posts:
Many thanks!! I found the explanation and the “fix” to download the new key gazillion times on the web but it didn’t fix it for me.
Your blog post finally solved it for me: I need to delete the key 🙂
Many thanks
Your welcome, glad you found it helpful.