How the problem manifests
When working with APT (e.g. apt update), an error about an invalid key is displayed:
EXPKEYSIG 70E18E2B
Cause
The GPG key for the repository has expired.
👉 As a result, the system refuses to verify packages.
Solution
Update the key by running the following command:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 70E18E2B
Note
the issue may appear after an extended period without updates
after renewing the key, run
apt updateagain
