networkradius pkg depo key problem

Matt Zagrabelny mzagrabe at
Fri Jul 2 15:51:03 CEST 2021

On Fri, Jul 2, 2021 at 7:55 AM Jure Simšič via Freeradius-Users <
freeradius-users at> wrote:

> Hi,
> I tried to add the PGP key for freeradius pkg depo on
> for Deebian10 and got this error:
> # apt-key adv --keyserver --recv-key 0x41382202
> Executing: /tmp/apt-key-gpghome.TGxQPJUuh5/ --keyserver
> --recv-key 0x41382202
> gpg: keyserver receive failed: No name
> Quick search on the net returned this answer
> and the working version for me was
> # apt-key adv --keyserver --recv-key 0x41382202
> Executing: /tmp/apt-key-gpghome.VvjetTwBbW/ --keyserver
> --recv-key 0x41382202
> gpg: key BE18FC5A41382202: public key "Network RADIUS Support (package
> signing) <packages at>" imported
> gpg: Total number processed: 1
> gpg:               imported: 1
> It seems is deprecated..

Not only is that key server deprecated, the whole apt-key program is

>From the apt-key man page...


       Use of apt-key is deprecated, except for the use of apt-key del in
maintainer scripts to remove existing keys
       from the main keyring. If such usage of apt-key is desired the
additional installation of the GNU Privacy
       Guard suite (packaged in gnupg) is required.

       apt-key(8) will last be available in Debian 11 and Ubuntu 22.04.


           Note: Instead of using this command a keyring should be placed
directly in the /etc/apt/trusted.gpg.d/
           directory with a descriptive name and either "gpg" or "asc" as
file extension.

Perhaps skip apt-key work and go directly to putting gpg snippets in
/etc/apt/trusted.gpg.d/ ?


More information about the Freeradius-Users mailing list