web-dev-qa-db-fra.com

"Erreur GPG" lors de l'exécution de "Sudo apt-fast update"

Un jour, j’ai découvert des messages d’erreur comme ci-dessous, je ne sais pas ce qui s’est passé, quelle est la solution pour vérifier la réparation, et j’ai besoin de votre aide.

.............
Err http://ppa.launchpad.net saucy/main AMD64 Packages
  404  Not Found
Err http://ppa.launchpad.net saucy/main i386 Packages
  404  Not Found
Ign http://ppa.launchpad.net saucy/main Translation-en_US
Ign http://ppa.launchpad.net saucy/main Translation-en
Fetched 1,498 kB in 2min 56s (8,478 B/s)
Reading package lists... Done
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: GPG error: http://www.geogebra.net stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C072A32983A736CF
W: GPG error: http://deb.torproject.org saucy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 74A941BA219EC810
W: GPG error: http://archive.canonical.com saucy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://extras.ubuntu.com saucy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
W: GPG error: http://archive.ubuntu.com saucy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://archive.ubuntu.com saucy-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://archive.ubuntu.com saucy-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com saucy-proposed Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32

W: GPG error: https://private-ppa.launchpad.net saucy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E131728675254D99
W: GPG error: https://private-ppa.launchpad.net saucy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E131728675254D99
W: GPG error: https://private-ppa.launchpad.net saucy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E131728675254D99
W: GPG error: https://private-ppa.launchpad.net saucy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E131728675254D99
W: GPG error: https://private-ppa.launchpad.net saucy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E131728675254D99
W: GPG error: https://private-ppa.launchpad.net saucy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E131728675254D99
W: GPG error: https://private-ppa.launchpad.net saucy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E131728675254D99
W: GPG error: https://private-ppa.launchpad.net saucy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E131728675254D99
W: GPG error: https://private-ppa.launchpad.net saucy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E131728675254D99
W: GPG error: http://ppa.launchpad.net saucy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8FC2C0DC77296259
W: Failed to fetch https://ppa.launchpad.net/clamtk/dists/saucy/main/binary-AMD64/Packages  

W: Failed to fetch https://ppa.launchpad.net/clamtk/dists/saucy/main/binary-i386/Packages  

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy-proposed/Release  

W: Failed to fetch http://ppa.launchpad.net/birdie-team/stable/ubuntu/dists/saucy/main/binary-AMD64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/birdie-team/stable/ubuntu/dists/saucy/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/clicompanion-devs/clicompanion-nightlies/ubuntu/dists/saucy/main/binary-AMD64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/clicompanion-devs/clicompanion-nightlies/ubuntu/dists/saucy/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/openshot.developers/ppa/ubuntu/dists/saucy/main/binary-AMD64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/openshot.developers/ppa/ubuntu/dists/saucy/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/ubuntu-vn/ppa/ubuntu/dists/saucy/main/binary-AMD64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/ubuntu-vn/ppa/ubuntu/dists/saucy/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/ylatuya/ppa/ubuntu/dists/saucy/main/binary-AMD64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/ylatuya/ppa/ubuntu/dists/saucy/main/binary-i386/Packages  404  Not Found

W: Some index files failed to download. They have been ignored, or old ones used instead.

En outre, il se produit régulièrement un message comme ci-dessous: enter image description here

A suivi la section intitulée "Comment éliminer ces erreurs" , certains PPA ont été corrigés, pas tous, puis a suivi Danilo sur la même page pour désactiver tous vos PPA:

Disable all PPA Finalement, je me rends compte que mon instance d'erreur est "Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible: NO_PUBKEY ......."

Ign http://archive.ubuntu.com saucy-proposed/universe Translation-en_US
Fetched 27.6 MB in 1min 36s (287 kB/s)
Reading package lists... Done
W: GPG error: http://archive.ubuntu.com saucy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://archive.ubuntu.com saucy-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://archive.ubuntu.com saucy-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32
W: GPG error: http://archive.ubuntu.com saucy-proposed Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32

Comment devrais-je résoudre ce problème?

:~$ cat /etc/apt/sources.list

# deb cdrom:[Ubuntu 13.10 _Saucy Salamander_ - Release AMD64 (20131016.1)]/ saucy main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu saucy main restricted
deb-src http://archive.ubuntu.com/ubuntu saucy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu saucy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu saucy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu saucy universe
deb-src http://archive.ubuntu.com/ubuntu saucy universe
deb http://archive.ubuntu.com/ubuntu saucy-updates universe
deb-src http://archive.ubuntu.com/ubuntu saucy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu saucy multiverse
deb-src http://archive.ubuntu.com/ubuntu saucy multiverse
deb http://archive.ubuntu.com/ubuntu saucy-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu saucy-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.

deb http://archive.ubuntu.com/ubuntu saucy-security main restricted
deb-src http://archive.ubuntu.com/ubuntu saucy-security main restricted
deb http://archive.ubuntu.com/ubuntu saucy-security universe
deb-src http://archive.ubuntu.com/ubuntu saucy-security universe
deb http://archive.ubuntu.com/ubuntu saucy-security multiverse
deb-src http://archive.ubuntu.com/ubuntu saucy-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu saucy partner
deb-src http://archive.canonical.com/ubuntu saucy partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu saucy main
deb-src http://extras.ubuntu.com/ubuntu saucy main
# deb https://ppa.launchpad.net/clamtk saucy main
# deb-src https://ppa.launchpad.net/clamtk saucy main

deb http://deb.torproject.org/torproject.org saucy main
deb http://archive.ubuntu.com/ubuntu saucy-proposed universe main restricted multiverse

Et :~$ cat /etc/apt/sources.list.d/*.list

deb http://ppa.launchpad.net/apt-fast/stable/ubuntu saucy main
deb-src http://ppa.launchpad.net/apt-fast/stable/ubuntu saucy main
deb http://ppa.launchpad.net/atareao/atareao/ubuntu saucy main
deb-src http://ppa.launchpad.net/atareao/atareao/ubuntu saucy main
# deb http://ppa.launchpad.net/birdie-team/stable/ubuntu saucy main
# deb-src http://ppa.launchpad.net/birdie-team/stable/ubuntu saucy main
deb http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu saucy main
deb-src http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu saucy main
deb http://ppa.launchpad.net/ehoover/compholio/ubuntu saucy main
deb-src http://ppa.launchpad.net/ehoover/compholio/ubuntu saucy main
deb http://ppa.launchpad.net/ffdiaporamateam/stable/ubuntu saucy main
deb-src http://ppa.launchpad.net/ffdiaporamateam/stable/ubuntu saucy main
deb http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu saucy main
deb-src http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu saucy main
deb http://ppa.launchpad.net/fossfreedom/rhythmbox-plugins/ubuntu saucy main
deb-src http://ppa.launchpad.net/fossfreedom/rhythmbox-plugins/ubuntu saucy main
deb http://ppa.launchpad.net/fossfreedom/rhythmbox/ubuntu saucy main
deb-src http://ppa.launchpad.net/fossfreedom/rhythmbox/ubuntu saucy main
deb http://ppa.launchpad.net/gabriel1984sibiu/aplicatii/ubuntu saucy main
# deb-src http://ppa.launchpad.net/gabriel1984sibiu/aplicatii/ubuntu saucy main
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb http://www.geogebra.net/linux/ stable main
deb http://dl.google.com/linux/chrome/deb/ stable main
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
#deb http://dl.google.com/linux/talkplugin/deb/ stable main
deb http://ppa.launchpad.net/gstreamer-developers/ppa/ubuntu saucy main
deb-src http://ppa.launchpad.net/gstreamer-developers/ppa/ubuntu saucy main
deb http://ppa.launchpad.net/jacob/media/ubuntu saucy main
deb-src http://ppa.launchpad.net/jacob/media/ubuntu saucy main
# deb http://ppa.launchpad.net/landronimirc/clamtk/ubuntu saucy main
# deb-src http://ppa.launchpad.net/landronimirc/clamtk/ubuntu saucy main
deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu saucy main
deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu saucy main
deb http://ppa.launchpad.net/linrunner/tlp/ubuntu saucy main
deb http://ppa.launchpad.net/me-davidsansome/clementine/ubuntu saucy main
deb-src http://ppa.launchpad.net/me-davidsansome/clementine/ubuntu saucy main
## Please report any bug on https://bugs.launchpad.net/medibuntu/
deb http://ppa.launchpad.net/mqchael/pipelight/ubuntu saucy main
deb-src http://ppa.launchpad.net/mqchael/pipelight/ubuntu saucy main
deb http://ppa.launchpad.net/nathan-renniewaldock/xbmc-stable/ubuntu saucy main
deb-src http://ppa.launchpad.net/nathan-renniewaldock/xbmc-stable/ubuntu saucy main
deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu saucy main
deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu saucy main
# deb http://ppa.launchpad.net/no1wantdthisname/openjdk-fontfix/ubuntu saucy main
# deb-src http://ppa.launchpad.net/no1wantdthisname/openjdk-fontfix/ubuntu saucy main
deb http://ppa.launchpad.net/noobslab/pear-apps/ubuntu saucy main
deb-src http://ppa.launchpad.net/noobslab/pear-apps/ubuntu saucy main
deb http://ppa.launchpad.net/nuvola-player-builders/stable/ubuntu saucy main
deb-src http://ppa.launchpad.net/nuvola-player-builders/stable/ubuntu saucy main
deb http://ppa.launchpad.net/nvbn-rm/ppa/ubuntu saucy main
deb-src http://ppa.launchpad.net/nvbn-rm/ppa/ubuntu saucy main
# This file makes sure that Opera Browser is kept up-to-date
# as part of regular system upgrades


# The line above will make sure you get all final public releases.
# Uncomment the following line if you want to get alpha and beta
# releases, too.

deb http://ppa.launchpad.net/peterlevi/ppa/ubuntu saucy main
deb-src http://ppa.launchpad.net/peterlevi/ppa/ubuntu saucy main
deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/able2extract/ubuntu saucy main #Added by software-center; credentials stored in /etc/apt/auth.conf
deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/chess/ubuntu saucy main #Added by software-center; credentials stored in /etc/apt/auth.conf
deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/color-by-numbers-halloween-free/ubuntu saucy main #Added by software-center; credentials stored in /etc/apt/auth.conf
deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/master-pdf-editor/ubuntu saucy main #Added by software-center; credentials stored in /etc/apt/auth.conf
deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/minitube-ubuntu/ubuntu saucy main #Added by software-center; credentials stored in /etc/apt/auth.conf
deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/outreel/ubuntu saucy main #Added by software-center; credentials stored in /etc/apt/auth.conf
deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/splashtop-client/ubuntu saucy main #Added by software-center; credentials stored in /etc/apt/auth.conf
deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/varicad-viewer/ubuntu saucy main #Added by software-center; credentials stored in /etc/apt/auth.conf
deb https://private-ppa.launchpad.net/commercial-ppa-uploaders/wuala/ubuntu saucy main #Added by software-center; credentials stored in /etc/apt/auth.conf
deb http://ppa.launchpad.net/rvm/smplayer/ubuntu saucy main
deb-src http://ppa.launchpad.net/rvm/smplayer/ubuntu saucy main
deb http://ppa.launchpad.net/saiarcot895/myppa/ubuntu saucy main
deb-src http://ppa.launchpad.net/saiarcot895/myppa/ubuntu saucy main
deb http://ppa.launchpad.net/skunk/pepper-flash/ubuntu saucy main
deb-src http://ppa.launchpad.net/skunk/pepper-flash/ubuntu saucy main
deb http://ppa.launchpad.net/skype-wrapper/ppa/ubuntu saucy main
deb-src http://ppa.launchpad.net/skype-wrapper/ppa/ubuntu saucy main
deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu saucy main
deb-src http://ppa.launchpad.net/tualatrix/ppa/ubuntu saucy main
# deb http://ppa.launchpad.net/ubuntu-vn/ppa/ubuntu saucy main
# deb-src http://ppa.launchpad.net/ubuntu-vn/ppa/ubuntu saucy main
deb http://ppa.launchpad.net/videolan/stable-daily/ubuntu saucy main
deb http://ppa.launchpad.net/vincent-c/cherrytree/ubuntu saucy main
deb-src http://ppa.launchpad.net/vincent-c/cherrytree/ubuntu saucy main
deb http://ppa.launchpad.net/webupd8team/Java/ubuntu saucy main
deb-src http://ppa.launchpad.net/webupd8team/Java/ubuntu saucy main
deb-src http://ppa.launchpad.net/webupd8team/Java/ubuntu saucy main
deb http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu saucy main
deb-src http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu saucy main
deb http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu saucy main
deb-src http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu saucy main
deb http://ppa.launchpad.net/wfg/0ad/ubuntu saucy main
deb-src http://ppa.launchpad.net/wfg/0ad/ubuntu saucy main
# deb http://ppa.launchpad.net/ylatuya/ppa/ubuntu saucy main
# deb-src http://ppa.launchpad.net/ylatuya/ppa/ubuntu saucy main
1
evergreen
  • Suivez this answer pour supprimer toute l’erreur GPG.

  • Ensuite, suivez this answer pour supprimer automatiquement tous les PPA 404 non trouvés.

2
Avinash Raj

Voici une procédure testée, étape par étape, pour éliminer cette erreur GPG:

  • supprimez tous les fichiers de clés dans le répertoire suivant: "/etc/apt/trusted.gpg.d":

    Sudo rm /etc/apt/trusted.gpg.d/*
    
  • installez y-ppa-manager:

    Sudo add-apt-repository ppa:webupd8team/y-ppa-manager
    Sudo apt-get update
    Sudo apt-get install y-ppa-manager
    
  • lancez-le:

    gksudo y-ppa-manager
    
  • faites défiler vers le bas et sélectionnez "Avancé"

  • sélectionnez maintenant "Essayer d'importer toutes les clés GPG manquantes" et cliquez sur OK.

    Cela pourrait prendre une minute ou deux. vous recevrez une notification quand c'est fait.

  • mettre à jour apt:

    Sudo apt-get update
    
  • plus d'erreurs NO_PUBKEY :)

p.s: le problème semble lié à this bug.

2
Michael_A