W: GPG error: http://ftp.de.debian.org testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY %YOUR_PUBKEY%
W: You may want to run apt-get update to correct these problems
W: You may want to run apt-get update to correct these problems
This can be solved:
gpg --recv-keys %YOUR_PUBKEY% && gpg --armor --export %YOUR_PUBKEY% | sudo apt-key add -
Внимание: если пишет
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: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
значит конфиг был создан, но ещё не вступил в силу. Просто запустите gpg еще раз.
P.S. также вариант решения, альтернативный:
apt-get install debian-archive-keyring
Помогло:
http://linsovet.com/howto_fix_apt_digital_sigs_and_gpg_error
No comments:
Post a Comment