Suggested fix:
=== modified file 'curtin/gpg.py' --- curtin/gpg.py 2016-06-23 15:04:21 +0000 +++ curtin/gpg.py 2017-02-02 17:28:22 +0000 @@ -41,7 +41,7 @@ LOG.debug('Receive gpg key "%s"', key) try: util.subp(["gpg", "--keyserver", keyserver, "--recv", key], - capture=True) + capture=True, retries=(1, 2, 5, 10)) except util.ProcessExecutionError as error: raise ValueError(('Failed to import key "%s" ' 'from server "%s" - error %s') %
Suggested fix:
=== modified file 'curtin/gpg.py' debug(' Receive gpg key "%s"', key)
util. subp([" gpg", "--keyserver", keyserver, "--recv", key], cutionError as error:
' from server "%s" - error %s') %
--- curtin/gpg.py 2016-06-23 15:04:21 +0000
+++ curtin/gpg.py 2017-02-02 17:28:22 +0000
@@ -41,7 +41,7 @@
LOG.
try:
- capture=True)
+ capture=True, retries=(1, 2, 5, 10))
except util.ProcessExe
raise ValueError(('Failed to import key "%s" '