web-dev-qa-db-fra.com

apt-get upgrade donne une erreur GPG

Comment pourrais-je remédier à cette erreur? J'ai installé pycharm via un ppa que j'utilise depuis des années dans divers ordinateurs.

W: GPG error: http://ppa.launchpad.net/mystic-mirage/pycharm/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DD969F10A7E2BCD2
W: The repository 'http://ppa.launchpad.net/mystic-mirage/pycharm/ubuntu xenial InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: There is no public key available for the following key IDs:
DD969F10A7E2BCD2  
1
Edziu Eames

EDIT: Vous devez l'ajouter à apt:

Sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DD969F10A7E2BCD2


Première réponse incorrecte

Ils ont changé la clé GPG utilisée pour signer les packages. Essayez d’exécuter ceci dans un terminal:

gpg --recv-keys DD969F10A7E2BCD2

3
Josh M.