Skip to main content

Debian 8 Jessie The following signatures couldn’t be verified because the public key is not available

Trying the upgrade from Debian 7 to Debian 8 I got key warnings when I changed the sources.list

W: Error de GPG: http://security.debian.org jessie/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553
W: Error de GPG: http://ftp.fr.debian.org jessie Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY CBF8D6FD518E17E1
W: Error de GPG: http://ftp.fr.debian.org jessie-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D0

I’ve fixed it running the following commands:

# wget -O - https://ftp-master.debian.org/keys/archive-key-8.asc | apt-key add -
# wget -O - https://ftp-master.debian.org/keys/archive-key-8-security.asc | apt-key add -

and get the public key:

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8B48AD6246925553

or simply run this command:

aptitude install debian-keyring debian-archive-keyring