GPG error: https://downloads.opennebula.io/repo/6.10.0.1/Ubuntu/24.04 stable Release: The following signatures couldn't be verified because the public key is not available

Please, describe the problem here and provide additional information below (if applicable) …

I got the following error message after executing: sudo apt-get update

W: GPG error: Index of /repo/6.10.0.1/Ubuntu/24.04 stable Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 05A05927906DC27C
E: The repository ‘Index of /repo/6.10.0.1/Ubuntu/24.04 stable Release’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

However, I was able to install a KVM node two months ago by using the same commands.

Versions of the related components and OS (frontend, hypervisors, VMs):
Frontend version: Ubuntu 24.04.1 LTS
Hypervisors: Ubuntu 24.04.1 LTS
Steps to reproduce:

  1. wget -qO /etc/apt/keyrings/opennebula.gpg https://downloads.opennebula.io/repo/repo.key

  2. echo “deb [signed-by=/etc/apt/keyrings/opennebula.gpg] Index of /repo/6.10/Ubuntu/24.04 stable opennebula” > /etc/apt/sources.list.d/opennebula.list

  3. apt-get update
    Current results:
    It doesn’t allow me to install opennebula-node-kvm
    Expected results:
    To be able to install a KVM node

I’m no expert here on repo keys. Last week I was able install this package on Ubuntu24.04 just fine with latest document here:

OpenNebula Repositories — OpenNebula 6.10.3 documentation

I think your step 1 needs wget:

wget -q -O- https://downloads.opennebula.io/repo/repo2.key | gpg --dearmor --yes --output /etc/apt/keyrings/opennebula.gpg

then,

 # echo "deb [signed-by=/etc/apt/keyrings/opennebula.gpg] https://downloads.opennebula.io/repo/6.10/Ubuntu/24.04 stable opennebula" > /etc/apt/sources.list.d/opennebula.list
 # apt-get update

Then you should be able to apt-get install the package:

doc here: KVM Node Installation — OpenNebula 6.10.3 documentation

Thank you so much! I am able to add a KVM node to my cluster.

1 Like