FrangaL/rpi-img-builder

Keysever Fail causes image fail

Cjkeenan opened this issue · 1 comments

This is my error log:

I: Base system installed successfully.
Executing: /tmp/apt-key-gpghome.IhBePtoSIW/gpg.1.sh --keyserver keys.gnupg.net --recv-keys 82B129927FA3303E
gpg: Warning: using insecure memory!
gpg: keyserver receive failed: Server indicated a failure
Executing: /tmp/apt-key-gpghome.0CIfTX9ELz/gpg.1.sh --keyserver keys.gnupg.net --recv-keys 9165938D90FDDD2E
gpg: Warning: using insecure memory!
gpg: keyserver receive failed: Server indicated a failure

It seems to download, unpack, and reconfigure all of the packages and then fails at this key phase. Any ideas what is causing this or how to fix?

My system:

cjkeenan@cjkeenan-Inspiron-13-5378:~/Desktop/rpi-img-builder$ uname -a
Linux cjkeenan-Inspiron-13-5378 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

It is probably a temporary DNS resolution problem, I will also update the script so that it tests other servers in case of failure.