Исправление ошибки GPG в oneiric

on January 16th, 2012 by Hades | No Comments »

После создания chroot окружения с помощью debootstrap появляется ошибка:

W: GPG error: http://extras.ubuntu.com oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192


Необходимо выполнить следующие действия:

su -
gpg --keyserver keyserver.ubuntu.com --recv 3E5C1192
gpg --export --armor 3E5C1192 | apt-key add -
apt-get update

В результате должно получиться следующее:

host:/root# su -
root@host:~# gpg --keyserver keyserver.ubuntu.com --recv 3E5C1192
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: requesting key 3E5C1192 from hkp server keyserver.ubuntu.com
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 3E5C1192: public key "Ubuntu Extras Archive Automatic Signing Key <[email protected]>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1
root@host:~# gpg --export --armor 3E5C1192 | apt-key add -
OK

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.