Gpg: no valid OpenPGP data found

I am installing Opennebula using While running the command

wget -q -O- | apt-key add -

I got “gpg: no valid OpenPGP data found” error. I used the link and performed following steps:

  1. open 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 xenial InRelease
Temporary failure resolving '
Err:2 xenial-security InRelease
Temporary failure resolving '
Err:3 xenial-updates InRelease
Temporary failure resolving '
Err:4 xenial-backports InRelease
Temporary failure resolving '
Err:5 stable InRelease
Could not resolve host:
Reading package lists… Done
W: Failed to fetch Temporary failure resolving '
W: Failed to fetch Temporary failure resolving '
W: Failed to fetch Temporary failure resolving '
W: Failed to fetch Temporary failure resolving '
W: Failed to fetch Could not resolve host:
W: Some index files failed to download. They have been ignored, or old ones used instead.

Please help me in this regard.

sorry after step 4 I issued below commands

root@nehaagrawal-HP-Compaq-8100-Elite-CMT-PC:/home/nehaagrawal# echo “deb stable opennebula” > /etc/apt/sources.list.d/opennebula.list
root@nehaagrawal-HP-Compaq-8100-Elite-CMT-PC:/home/nehaagrawal# apt-get update

Diagnose network connectivity problems, the first answer at has a reasonable explanation. Good to see you on xenial. Since you are on a clean system, have you verified (don’t install anything, just verify)?

Thank you marcindulak,
The problem has been resolved.

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.

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

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 - no such name (
/usr/share/one/install_gems:413:in install_bundler_gem': undefined methodnew’ 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?

Network problems continue?


successfully installed front-end…