Gpg: keyserver receive failed: Connection timed out (Ubuntu 24.04)

Hi,

Running in to a time out when I try to add the Ubuntu 24.04 repository…

root@mst-vpngw:~# gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 7568D9BB55FF9E5287D586017AE645C0CF8E292A
gpg: keyserver receive failed: Connection timed out

Run the command curl https://raw.githubusercontent.com/pritunl/pgp/master/pritunl_repo_pub.asc | sudo apt-key add -

Thank you.

Just had to change the key to keyring now it works.

any idea why I’m not able to install?

# apt install pritunl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package pritunl


# cat /etc/apt/sources.list.d/pritunl.list
deb [ arch=amd64 signed-by=/usr/share/keyrings/pritunl.gpg ] https://repo.pritunl.com/stable/apt noble main

The Pritunl server 24.04 package is only available on the unstable repository.