Corriger l'erreur There is no public key available for the following key IDs après apt-get update

13/03/2009 - 5327 consultations - 1 commentaire


Ce mini tutoriel vous explique comment corriger l'erreur There is no public key available for the following key IDs

Vous faites un apt-get update et vous rencontrez l'erreur suivante :
debian:~# apt-get update
Réception de : 1 http://ftp.fr.debian.org stable Release.gpg [386B]
Atteint http://ftp.fr.debian.org stable Release
Réception de : 2 http://security.debian.org etch/updates Release.gpg [197B]
Ign http://ftp.fr.debian.org stable/main Packages/DiffIndex
Atteint http://security.debian.org etch/updates Release
Ign http://ftp.fr.debian.org stable/contrib Packages/DiffIndex
Ign http://ftp.fr.debian.org stable/non-free Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://ftp.fr.debian.org stable/main Sources/DiffIndex
Ign http://ftp.fr.debian.org stable/contrib Sources/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Sources/DiffIndex
Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex
Ign http://ftp.fr.debian.org stable/non-free Sources/DiffIndex
Atteint http://security.debian.org etch/updates/main Packages
Atteint http://ftp.fr.debian.org stable/main Packages
Atteint http://ftp.fr.debian.org stable/contrib Packages
Atteint http://security.debian.org etch/updates/contrib Packages
Atteint http://security.debian.org etch/updates/main Sources
Atteint http://ftp.fr.debian.org stable/non-free Packages
Atteint http://security.debian.org etch/updates/contrib Sources
Atteint http://ftp.fr.debian.org stable/main Sources
Atteint http://ftp.fr.debian.org stable/contrib Sources
Atteint http://ftp.fr.debian.org stable/non-free Sources
2o réceptionnés en 1s (2o/s)
Lecture des listes de paquets... Fait
W: There is no public key available for the following key IDs:
4D270D06F42584E6
W: Vous pouvez lancer "apt-get update" pour corriger ces problèmes.

En général taper la commande suivante suffit :
debian:~# apt-key update
gpg: key 2D230C5F: "Debian Archive Automatic Signing Key (2006) <ftpmaster@debian.org>" not changed
gpg: key 6070D3A1: "Debian Archive Automatic Signing Key (4.0/etch) <ftpmaster@debian.org>" not changed
gpg: key ADB11277: "Etch Stable Release Key <debian-release@lists.debian.org>" not changed
gpg: key BBE55AB3: "Debian-Volatile Archive Automatic Signing Key (4.0/etch)" not changed
gpg: Total number processed: 4
gpg:              unchanged: 4

Si ça ne fonctionne pas, allez générer la clé à l'aide du site pgp.net :
debian:~# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 4D270D06F42584E6
gpg: directory '/root/.gnupg' created
gpg: can't open '/gnupg/options.skel': Aucun fichier ou répertoire de ce type
gpg: keyring '/root/.gnupg/secring.gpg' created
gpg: keyring '/root/.gnupg/pubring.gpg' created
gpg: requesting key F42584E6 from hkp server wwwkeys.eu.pgp.net
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key F42584E6: public key "Lenny Stable Release Key <debian-release@lists.debian.org>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1

Puis ajoutez là à votre serveur :
debian:~# apt-key add /root/.gnupg/pubring.gpg
OK

Enfin refaites in apt-get update :
debian:~# apt-get update
Réception de : 1 http://ftp.fr.debian.org stable Release.gpg [386B]
Atteint http://ftp.fr.debian.org stable Release
Réception de : 2 http://security.debian.org etch/updates Release.gpg [197B]
Ign http://ftp.fr.debian.org stable/main Packages/DiffIndex
Ign http://ftp.fr.debian.org stable/contrib Packages/DiffIndex
Atteint http://security.debian.org etch/updates Release
Ign http://ftp.fr.debian.org stable/non-free Packages/DiffIndex
Ign http://ftp.fr.debian.org stable/main Sources/DiffIndex
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://ftp.fr.debian.org stable/contrib Sources/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Sources/DiffIndex
Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex
Ign http://ftp.fr.debian.org stable/non-free Sources/DiffIndex
Atteint http://ftp.fr.debian.org stable/main Packages
Atteint http://security.debian.org etch/updates/main Packages
Atteint http://ftp.fr.debian.org stable/contrib Packages
Atteint http://ftp.fr.debian.org stable/non-free Packages
Atteint http://security.debian.org etch/updates/contrib Packages
Atteint http://security.debian.org etch/updates/main Sources
Atteint http://ftp.fr.debian.org stable/main Sources
Atteint http://security.debian.org etch/updates/contrib Sources
Atteint http://ftp.fr.debian.org stable/contrib Sources
Atteint http://ftp.fr.debian.org stable/non-free Sources
2o réceptionnés en 1s (2o/s)
Lecture des listes de paquets... Fait

Et là ça fonctionne !!!

Commentaires (1)

Eric barode - 28/03/2011 à 14h03
Je trouve votre post très utile notamment utile pour élaborer mon site
Merci ;)
Bonne continuation

Commentez cet article

Nom (obligatoire)
E-mail (obligatoire)
Site Internet (facultatif)
code anti-spam

Me tenir informé des nouveaux messages





  puce ACCUEIL
  puce BASE DEBIAN (12)
  puce TUTORIELS
   Apache, PHP, Tomcat (4)
   MySQL, PostgreSQL (6)
   Backup (Rsync Scp Proxy) (6)
   Monitoring (Mrtg Snort) (4)
   Virtualisation Xen Vmware (1)
  puce ACTUALITES
  puce LIENS
  puce PLAN DU SITE
  puce BOITE A OUTILS
  puce RECHERCHES FREQUENTES
  puce CONTACT




ark.pngInstallation d'un système de sauvegarde avec rsync
Ce tutoriel vous présente l'installation d'un système de sauvegarde pour par exemple un site web à l'aide de l'outils rsync
java.pngInstallation Tomcat et JDK de Sun
Tutoriel d'installation de Tomcat sous Debian avec la jdk de Sun à partir des packages Sun et Tomcat dernières version stable
encrypted.pngSauvegarde par ssh avec la commande scp avec clé publique - clé privée
Ce tutoriel présente comment effectuer une copie de fichier entre 2 serveurs en utilisant scp, en passant par des clé publique et clé privée afin de ne pas avoir à saisir de mot de passe
encrypted.pngConnexion ssh sous debian etch et lenny avec clé publique - privée
Ce tutoriel vous présente comment vous connecter sur votre serveur Debian (Etch et Lenny) en ssh, scp, sftp à partir de Windows avec clé publique privée (sans avoir à taper de mot de passe)
mycomputer.pngOutils intéressants sous Linux
Voici quelques outils intéressants pour vous faciliter la vie sous Linux : nmap, nslookup
terminal.pngServeur ftp proftpd avec utilisateurs virtuels sous linux debian ubuntu
Ce tutoriel vous présente comment installer le serveur ftp proftpd à partir des paquets debian. Pour éviter de créer autant d'utilisateurs Linux que de compte FTP il est possible de créer des utilisateurs virtuels seulement disponibles pour le serveur FTP
encrypted.pngCorriger l'erreur There is no public key available for the following key IDs après apt-get update
Ce mini tutoriel vous explique comment corriger l'erreur There is no public key available for the following key IDs
cdcopy.pngMettre à jour debian etch 4.0 vers debian lenny 5.0
Ce mini tutoriel vous explique comment mettre à jour votre distribution stable debian de etch 4.0 à lenny 5.0
mail_generic.pngProblème à l'installation d'Exim4 : Could not perform immediate configuration on 'exim4-daemon-light'. sous Linux Debian
Il peut arriver que vous rencontriez un problème lors de l'installation d'Exim4, une erreur du style : Could not perform immediate configuration on 'exim4-daemon-light'.