Change gpg server in case of failure
This commit is contained in:
@@ -46,7 +46,8 @@ class WOAptGet():
|
||||
if "NO_PUBKEY" in single_error:
|
||||
key = single_error.rsplit(None, 1)[-1]
|
||||
WORepo.add_key(
|
||||
self, key, keyserver="hkp://pgp.mit.edu")
|
||||
self, key,
|
||||
keyserver="hkp://keyserver.ubuntu.com")
|
||||
|
||||
proc = subprocess.Popen(
|
||||
'DEBIAN_FRONTEND=noninteractive apt-get update -qq',
|
||||
|
||||
Reference in New Issue
Block a user