# Gpg: no valid OpenPGP data found

**URL:** <https://forum.opennebula.io/t/gpg-no-valid-openpgp-data-found/4781>\
**Category:** Product Support\
**Created:** [August 19, 2017, 6:43am UTC](https://forum.opennebula.io/t/gpg-no-valid-openpgp-data-found/4781 "2017-08-19T06:43:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neha](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@Neha](https://forum.opennebula.io/u/Neha)\
**Post date:** [August 19, 2017, 6:43am UTC](https://forum.opennebula.io/t/gpg-no-valid-openpgp-data-found/4781/1 "2017-08-19T06:43:45Z")

</div>

Hello,  
I am installing Opennebula using [https://docs.opennebula.org/5.4/deployment/opennebula\_installation/frontend\_installation.html](https://docs.opennebula.org/5.4/deployment/opennebula_installation/frontend_installation.html). While running the command

# wget -q -O- [http://downloads.opennebula.org/repo/repo.key](http://downloads.opennebula.org/repo/repo.key) | apt-key add -

I got “gpg: no valid OpenPGP data found” error. I used the link [https://stackoverflow.com/questions/21338721/gpg-no-valid-openpgp-data-found](https://stackoverflow.com/questions/21338721/gpg-no-valid-openpgp-data-found) and performed following steps:

1. open [http://downloads.opennebula.org/repo/repo.key](http://downloads.opennebula.org/repo/repo.key) in browser
2. save key in downloads
3. move to cd /Downloads/ as root@nehaagrawal-HP-Compaq-8100-Elite-CMT-PC:/home/nehaagrawal/Downloads#
4. Run apt-key add repo.key  
OK is produced as output.

But when I run apt-get update command, I got  
Err:1 [http://in.archive.ubuntu.com/ubuntu](http://in.archive.ubuntu.com/ubuntu) xenial InRelease  
Temporary failure resolving '[in.archive.ubuntu.com](http://in.archive.ubuntu.com)’  
Err:2 [http://security.ubuntu.com/ubuntu](http://security.ubuntu.com/ubuntu) xenial-security InRelease  
Temporary failure resolving '[security.ubuntu.com](http://security.ubuntu.com)’  
Err:3 [http://in.archive.ubuntu.com/ubuntu](http://in.archive.ubuntu.com/ubuntu) xenial-updates InRelease  
Temporary failure resolving '[in.archive.ubuntu.com](http://in.archive.ubuntu.com)’  
Err:4 [http://in.archive.ubuntu.com/ubuntu](http://in.archive.ubuntu.com/ubuntu) xenial-backports InRelease  
Temporary failure resolving '[in.archive.ubuntu.com](http://in.archive.ubuntu.com)’  
Err:5 [https://downloads.opennebula.org/repo/5.4/Ubuntu/16.04](https://downloads.opennebula.org/repo/5.4/Ubuntu/16.04) stable InRelease  
Could not resolve host: [downloads.opennebula.org](http://downloads.opennebula.org)  
Reading package lists… Done  
W: Failed to fetch [http://in.archive.ubuntu.com/ubuntu/dists/xenial/InRelease](http://in.archive.ubuntu.com/ubuntu/dists/xenial/InRelease) Temporary failure resolving '[in.archive.ubuntu.com](http://in.archive.ubuntu.com)’  
W: Failed to fetch [http://in.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease](http://in.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease) Temporary failure resolving '[in.archive.ubuntu.com](http://in.archive.ubuntu.com)’  
W: Failed to fetch [http://in.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease](http://in.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease) Temporary failure resolving '[in.archive.ubuntu.com](http://in.archive.ubuntu.com)’  
W: Failed to fetch [http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease](http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease) Temporary failure resolving '[security.ubuntu.com](http://security.ubuntu.com)’  
W: Failed to fetch [https://downloads.opennebula.org/repo/5.4/Ubuntu/16.04/dists/stable/InRelease](https://downloads.opennebula.org/repo/5.4/Ubuntu/16.04/dists/stable/InRelease) Could not resolve host: [downloads.opennebula.org](http://downloads.opennebula.org)  
W: Some index files failed to download. They have been ignored, or old ones used instead.

Please help me in this regard.

---

<div class="post-metadata">

**Author:** ![Neha](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@Neha](https://forum.opennebula.io/u/Neha)\
**Post date:** [August 19, 2017, 6:55am UTC](https://forum.opennebula.io/t/gpg-no-valid-openpgp-data-found/4781/2 "2017-08-19T06:55:16Z")

</div>

sorry after step 4 I issued below commands

root@nehaagrawal-HP-Compaq-8100-Elite-CMT-PC:/home/nehaagrawal# echo “deb [https://downloads.opennebula.org/repo/5.4/Ubuntu/16.04](https://downloads.opennebula.org/repo/5.4/Ubuntu/16.04) stable opennebula” \> /etc/apt/sources.list.d/opennebula.list  
root@nehaagrawal-HP-Compaq-8100-Elite-CMT-PC:/home/nehaagrawal# apt-get update

---

<div class="post-metadata">

**Author:** ![marcindulak](https://avatars.discourse-cdn.com/v4/letter/m/a3d4f5/32.png) [@marcindulak](https://forum.opennebula.io/u/marcindulak)\
**Post date:** [August 19, 2017, 7:40am UTC](https://forum.opennebula.io/t/gpg-no-valid-openpgp-data-found/4781/3 "2017-08-19T07:40:40Z")

</div>

Diagnose network connectivity problems, the first answer at [https://askubuntu.com/questions/91543/apt-get-update-fails-to-fetch-files-temporary-failure-resolving-error](https://askubuntu.com/questions/91543/apt-get-update-fails-to-fetch-files-temporary-failure-resolving-error) has a reasonable explanation. Good to see you on xenial. Since you are on a clean system, have you verified [https://help.ubuntu.com/community/KVM/Installation](https://help.ubuntu.com/community/KVM/Installation) (don’t install anything, just verify)?

---

<div class="post-metadata">

**Author:** ![Neha](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@Neha](https://forum.opennebula.io/u/Neha)\
**Post date:** [August 19, 2017, 8:20am UTC](https://forum.opennebula.io/t/gpg-no-valid-openpgp-data-found/4781/4 "2017-08-19T08:20:15Z")

</div>

Thank you marcindulak,  
The problem has been resolved.

---

<div class="post-metadata">

**Author:** ![marcindulak](https://avatars.discourse-cdn.com/v4/letter/m/a3d4f5/32.png) [@marcindulak](https://forum.opennebula.io/u/marcindulak)\
**Post date:** [August 19, 2017, 8:30am UTC](https://forum.opennebula.io/t/gpg-no-valid-openpgp-data-found/4781/5 "2017-08-19T08:30:59Z")

</div>

No need to thank, instead, when you figure out a reason and a solution to a problem please report them back on the forum. Internet is filled with politeness and promises, but that really matters is reliable information.

---

<div class="post-metadata">

**Author:** ![Neha](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@Neha](https://forum.opennebula.io/u/Neha)\
**Post date:** [August 19, 2017, 8:37am UTC](https://forum.opennebula.io/t/gpg-no-valid-openpgp-data-found/4781/6 "2017-08-19T08:37:55Z")

</div>

I have only replaced Export to Acquire in the terminal proxy setting and when I issued apt-get update all was went fine

---

<div class="post-metadata">

**Author:** ![Neha](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@Neha](https://forum.opennebula.io/u/Neha)\
**Post date:** [August 19, 2017, 8:41am UTC](https://forum.opennebula.io/t/gpg-no-valid-openpgp-data-found/4781/7 "2017-08-19T08:41:37Z")

</div>

Hello Marcindulak,  
When I issued below command  
root@nehaagrawal-HP-Compaq-8100-Elite-CMT-PC:/home/nehaagrawal# /usr/share/one/install\_gems  
I got following error  
ERROR: Could not find a valid gem ‘bundler’ (\>= 0), here is why:  
Unable to download data from [https://rubygems.org/](https://rubygems.org/) - no such name ([https://rubygems.org/specs.4.8.gz](https://rubygems.org/specs.4.8.gz))  
/usr/share/one/install\_gems:413:in `install_bundler_gem': undefined method`new’ for #\<IO:\> (NoMethodError)  
from /usr/share/one/install\_gems:592:in `’

Do I manually install all packages or there is any alternative for this problem?

---

<div class="post-metadata">

**Author:** ![marcindulak](https://avatars.discourse-cdn.com/v4/letter/m/a3d4f5/32.png) [@marcindulak](https://forum.opennebula.io/u/marcindulak)\
**Post date:** [August 19, 2017, 8:54am UTC](https://forum.opennebula.io/t/gpg-no-valid-openpgp-data-found/4781/8 "2017-08-19T08:54:33Z")

</div>

Network problems continue?

> wget [https://rubygems.org/specs.4.8.gz](https://rubygems.org/specs.4.8.gz)

---

<div class="post-metadata">

**Author:** ![Neha](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@Neha](https://forum.opennebula.io/u/Neha)\
**Post date:** [August 19, 2017, 9:11am UTC](https://forum.opennebula.io/t/gpg-no-valid-openpgp-data-found/4781/9 "2017-08-19T09:11:54Z")

</div>

successfully installed front-end…
