Hello,
I am installing Opennebula using 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 | 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 and performed following steps:
- open http://downloads.opennebula.org/repo/repo.key in browser
- save key in downloads
- move to cd /Downloads/ as root@nehaagrawal-HP-Compaq-8100-Elite-CMT-PC:/home/nehaagrawal/Downloads#
- 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 xenial InRelease
Temporary failure resolving 'in.archive.ubuntu.com’
Err:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Temporary failure resolving 'security.ubuntu.com’
Err:3 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease
Temporary failure resolving 'in.archive.ubuntu.com’
Err:4 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
Temporary failure resolving 'in.archive.ubuntu.com’
Err:5 https://downloads.opennebula.org/repo/5.4/Ubuntu/16.04 stable InRelease
Could not resolve host: downloads.opennebula.org
Reading package lists… Done
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/xenial/InRelease Temporary failure resolving 'in.archive.ubuntu.com’
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease Temporary failure resolving 'in.archive.ubuntu.com’
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease Temporary failure resolving 'in.archive.ubuntu.com’
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease Temporary failure resolving 'security.ubuntu.com’
W: Failed to fetch https://downloads.opennebula.org/repo/5.4/Ubuntu/16.04/dists/stable/InRelease Could not resolve host: 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.