furlongm / patchman

Patchman is a Linux Patch Status Monitoring System
http://patchman.openbytes.ie
GNU General Public License v3.0
362 stars 78 forks source link

Getting openbytes key from keyserver.ubuntu.com on bullseye #383

Closed macrotex closed 2 years ago

macrotex commented 2 years ago

The installation instructions for installing patchman on Debian say to use the following command to download the signing key for the openbytes Debian package repository:

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0412F522

However, if you execute the above command on a Debian bullseye machine you get these messages:

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.uYNDPUxBov/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 0412F522
gpg: keyserver receive failed: Server indicated a failure

Maybe it would be better to provide the public key for the openbytes repo directly as a file that could be dropped in /etc/apt/trusted.gpg.d

furlongm commented 2 years ago

Does it work if you try it again?

Seems like a server error, worked for me:

root@857781dade70:/# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0412F522
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.JdzydiKPlq/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 0412F522
gpg: key D30FB02B0412F522: public key "Marcus Furlong <furlongm@gmail.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
macrotex commented 2 years ago

It looks to be something related to DNS. I was able to get around the issue by messing around with my resolv.conf (see also this StackExchange question). In short, it does not seem to be a patchman issue.