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

Closed
DeepakAuti opened this issue May 6, 2024 · 5 comments
Closed

gpg: no valid OpenPGP data found. #10053

DeepakAuti opened this issue May 6, 2024 · 5 comments

Comments

@DeepakAuti
Copy link

Hi ,

I am installing Icinga 2 on my system
details are as below :
OS Version ; Ubantu 22.04

Error : gpg: no valid OpenPGP data found.

Kindly guide

@DeepakAuti
Copy link
Author

wget -O - /home/monitoring/icinga | gpg --dearmor -o /usr/share/keyrings/icinga-archive-keyring.gpg

@oxzi
Copy link
Member

oxzi commented May 6, 2024

I am not quite sure what exactly is wrong, but at least your wget command misses an URL.

wget -O - /home/monitoring/icinga | gpg --dearmor -o /usr/share/keyrings/icinga-archive-keyring.gpg

Your wget has a local path instead of an URL, as specified in the installation documentation.

@DeepakAuti
Copy link
Author

Hi,

I have tried with URL but it is showing connection timed out error so i have downloaded Key externally and stored it in directory and added that path in command

@yhabteab
Copy link
Member

yhabteab commented May 8, 2024

Hi,

I have tried with URL but it is showing connection timed out error so i have downloaded Key externally and stored it in directory and added that path in command

The website might have been down on maintenance issues at the time you did that, and retrying it might work. However, if you have already downloaded the Icinga KEY manually, you do not need wget -O ..., you can simply do it as follows.

gpg --dearmor -o /usr/share/keyrings/icinga-archive-keyring.gpg /PATH/TO/THE/DOWNLOADED/ICINGA.KEY

@yhabteab yhabteab closed this as completed May 8, 2024
@oxzi
Copy link
Member

oxzi commented May 8, 2024

For the record, this wget command should not work, as it expects some URL. I just tested a file:// URL, but this wasn't supported by my wget version. Thus, just use cat or pipe it into the other command's stdin.

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