Skip to content

Instantly share code, notes, and snippets.

@tfountain
Created June 24, 2012 16:36
Show Gist options
  • Save tfountain/2983930 to your computer and use it in GitHub Desktop.
Save tfountain/2983930 to your computer and use it in GitHub Desktop.
Percona repo errors
Chef::Exceptions::ShellCommandFailed: apt_repository[percona] (percona-mysql::default line 13) had an error:
execute[install-key 1C4CBDCDCD2EFD2A] (/var/cache/chef/cookbooks/apt/providers/repository.rb line 23) had an
error: Expected process to exit with [0], but received '2'
---- Begin output of apt-key adv --keyserver hkp://keys.gnupg.net --recv 1C4CBDCDCD2EFD2A ----
STDOUT: Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/sec
ring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/truste
d.gpg --keyserver hkp://keys.gnupg.net --recv 1C4CBDCDCD2EFD2A
gpgkeys: key 1C4CBDCDCD2EFD2A not found on keyserver
STDERR: gpg: requesting key CD2EFD2A from hkp server keys.gnupg.net
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
---- End output of apt-key adv --keyserver hkp://keys.gnupg.net --recv 1C4CBDCDCD2EFD2A ----
Ran apt-key adv --keyserver hkp://keys.gnupg.net --recv 1C4CBDCDCD2EFD2A returned 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment