web-dev-qa-db-fra.com

Erreur de clé publique

Comment résoudre ce problème,

root@work:/# Sudo apt-get update
Hit:1 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:3 http://nyc2.mirrors.digitalocean.com/ubuntu xenial InRelease
Hit:4 http://nyc2.mirrors.digitalocean.com/ubuntu xenial-updates InRelease
Hit:6 http://nyc2.mirrors.digitalocean.com/ubuntu xenial-backports InRelease
Get:5 http://ag-projects.com/ubuntu xenial InRelease [7,109 B]
Err:5 http://ag-projects.com/ubuntu xenial InRelease
The following signatures couldn't be verified because the public key  is not available: NO_PUBKEY F74046C316D8F9F5
Fetched 109 kB in 0s (181 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ag-projects.com/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F74046C316D8F9F5
W: Failed to fetch http://ag-projects.com/ubuntu/dists/xenial/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F74046C316D8F9F5
W: Some index files failed to download. They have been ignored, or old ones used instead.
*****************************

root@work:/# Sudo apt-key list
/etc/apt/trusted.gpg
--------------------
pub   1024D/437D05B5 2004-09-12
uid  Ubuntu Archive Automatic Signing Key <[email protected]>
sub   2048g/79164387 2004-09-12
pub   4096R/C0B21F32 2012-05-11
uid   Ubuntu Archive Automatic Signing Key (2012) <[email protected]>
pub   4096R/EFE21092 2012-05-11
uid   Ubuntu CD Image Automatic Signing Key (2012) <[email protected]>
pub   1024D/FBB75451 2004-12-30
uid   Ubuntu CD Image Automatic Signing Key <[email protected]>
pub   1024D/163A0DF5 2007-05-24
uid   AG Projects Debian Package Signing Key <[email protected]>
sub   2048g/9565A2F3 2007-05-24
pub   2048R/9CA27E41 2018-02-02
uid   John ATEL (Newkey) <[email protected]>
sub   2048R/36CFB265 2018-02-02
sub   2048R/9934ADF8 2018-02-02
/etc/apt/trusted.gpg.d/nilarimogard_ubuntu_webupd8.gpg
------------------------------------------------------
pub   1024R/4C9D234C 2010-01-20
uid   Launchpad webupd8
2
marvic

Votre système recherche cette clé de 16D8F9F5. Ce sont les 8 derniers chiffres de la chaîne entière. Selon le site Web du PPA qui recherche cette clé http://ag-projects.com/news/new-openxcap-release-107/ tout ce que vous devez faire est de courir la ligne suivante pour installer la clé:

Sudo wget -O /etc/apt/trusted.gpg.d/agp-debian-key.gpg http://download.ag-projects.com/agp-debian-key.gpg

Juste comme test je l'ai couru et je vois cette clé maintenant installée:

Sudo apt-key list
/etc/apt/trusted.gpg.d/agp-debian-key.gpg
-----------------------------------------
pub   4096R/16D8F9F5 2016-10-04
uid                  AG Projects Debian Package Signing Key <[email protected]>
sub   4096R/9AE893BC 2016-10-04

J'espère que cela t'aides!

3
Terrance