Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpg: no valid OpenPGP data found. #11

Open
snizzleorg opened this issue Mar 11, 2016 · 3 comments
Open

gpg: no valid OpenPGP data found. #11

snizzleorg opened this issue Mar 11, 2016 · 3 comments

Comments

@snizzleorg
Copy link
Contributor

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...

@kast1
Copy link

kast1 commented Apr 28, 2016

same for me, any solution?

@snizzleorg
Copy link
Contributor Author

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

@luxus
Copy link
Contributor

luxus commented May 9, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants