I guess you are having some kind of network problem (https or name resolution issue), thus apt-key receives nothing .
Check the output of wget on the machine you would like to update.

I've double-checked this in an Ubuntu 20.04 docker image:
root@3a9f375aab0f:/# wget -qO - https://ose-repo.syslog-ng.com/apt/syslog-ng-ose-pub.asc | apt-key add -
OK

root@3a9f375aab0f:/# echo foobar | apt-key add -
gpg: no valid OpenPGP data found.

root@3a9f375aab0f:/# wget -qO - https://cant-reaach-network | apt-key add -
gpg: no valid OpenPGP data found.


Regards,
Gabor


Burgett, Michael <michael.burgett@enocean.com> ezt írta (időpont: 2022. nov. 17., Cs, 18:54):

Hello,

 

I am attempting to follow the instructions at this blog link, but get an error trying to download the public key:

# wget -qO - https://ose-repo.syslog-ng.com/apt/syslog-ng-ose-pub.asc | sudo apt-key add –

gpg: no valid OpenPGP data found.

 

I’ve tried searching later blog post, without success.

 

I’d like to try a later version (3.25.1-3 from ubuntu-20.04 packages) since we seem to randomly have this version hang, which eventually seems to block journald as well.

 

Thanks,

Mike Burgett

 

 

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq