homebridge-docker icon indicating copy to clipboard operation
homebridge-docker copied to clipboard

gpg: no valid OpenPGP data found.

Open snizzleorg opened this issue 8 years ago • 3 comments

Any idea why this might be happening?

Step 11 : RUN wget -O - -q https://apt.adafruit.com/apt.adafruit.com.gpg.key | apt-key add -
 ---> Running in ded7b13b046b
gpg: no valid OpenPGP data found.
The command '/bin/sh -c wget -O - -q https://apt.adafruit.com/apt.adafruit.com.gpg.key | apt-key add -' returned a non-zero code: 2

I can run this

wget -O - -q https://apt.adafruit.com/apt.adafruit.com.gpg.key | apt-key add -

on the host and do not get a problem...

snizzleorg avatar Mar 11 '16 10:03 snizzleorg

same for me, any solution?

kast1 avatar Apr 28 '16 03:04 kast1

yes. The docker image had no network. It was something along sysctl forwarding enable.... I don't really recall.

snizzleorg avatar Apr 30 '16 21:04 snizzleorg

http://stackoverflow.com/questions/20909111/adding-gpg-key-inside-docker-container-causes-no-valid-openpgp-data-found

installing ca-certificates or adding --no-check-certificate to wget

luxus avatar May 09 '16 01:05 luxus