Missing key errors when attempting to upgrade Debian from Jessie to Stable
While following this tutorial, I've run into the following error when attempting to upgrade my source list with $ sudo apt update
:
W: There is no public key available for the following key IDs:
648ACFD622F3D138
NO_PUBKEY DCC9EFBF77E11517
W: There is no public key available for the following key IDs:
648ACFD622F3D138
E: Release file for http://archive.debian.org/debian/dists/jessie-backports/InRelease is expired (invalid since 144d 5h 42min 22s). >Updates for this repository will not be applied.
I have the feeling it's due to me using deb.sury's DPA in order to quickly/easily install PHP onto my system, but I'm unsure how to proceed.
1 Reply
According to a few sources online the following should work to fix the error you're seeing:
apt-get install debian-keyring debian-archive-keyring
apt-key update
If that doesn't work, there's a few other suggestions in the Stack Exchange post here:
https://unix.stackexchange.com/questions/75807/no-public-key-available-on-apt-get-update