Corriger l’erreur gpg: [don’t know]: invalid packet

J’ai été confronté à l’erreur suivante en essayant d’ajouter une clé GPG à APT : ~ # apt-key add keyring.gpg gpg: [don’t know]: invalid packet (ctb=2d) gpg: keyring_get_keyblock: read error: Invalid packet gpg: keydb_get_keyblock failed: Invalid keyring gpg: [don’t know]: invalid packet (ctb=2d) gpg: /tmp/apt-key-gpghome.kpq2RJAPsu/pubring.gpg: copy to ‘/tmp/apt-key-gpghome.kpq2RJAPsu/pubring.gpg.tmp’ failed: Invalid packet gpg: error writing keyring […]