GPG error: public key is not available

On Ubuntu 14.04, after i added the deb location, i did apt-get update. And i got this.

W: GPG error: http://downloads.opennebula.org stable Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY XXXXXXXXXXXXX

My bad, i did not add the key.

Hi,

Execute this command to get key
wget -q -O- http://downloads.opennebula.org/repo/Ubuntu/repo.key | apt-key add -

I did, but there is something about /var/lib/one/datastore symlink, Opennebula do not have well defined log roll over, so it filled up the space, remember, /var/lib and /var/log are similar, and worst, the home directory sets to /var/lib/one, so when some one did cd ~, it is going to go into /var/lib/one. In the process of cleaning up log files, one of our admins deleted the files under datastore, because they were lying under home directory like some backup. Luckily though it was not on production. These are common stupid mistakes guys might run into. So it is not a good idea to link datastore under /var/lib/one, definitely not. So i had to reconfigure everything back to some mount other than any directory that starts with /var.

1 Like