in reply to CPAN Installs Failing On gpg

One thing that I did was install the latest CPAN

Which version were you using previously? GPG changes happened as recently as version 2.33.

You could also try running the given failing gpg command yourself, but without sending STDERR to /dev/null. That may give you more detail on the actual problem.

Finally, CPAN is not the only automated installer available. You could try one of the others at least to get you past the current impasse.


🦛

Replies are listed 'Best First'.
Re^2: CPAN Installs Failing On gpg
by blbates (Initiate) on Jun 12, 2025 at 12:03 UTC

    I forgot to add to my original post that I had tried to manually run the command. This is what happened:

    /opt/freeware/bin/gpg --verify --batch --no-tty /usr/local/src/perl/.c +pan/sources/authors/id/S/ST/STRO/CHECKSUMS gpg: Signature made Sat Oct 29 02:53:44 2022 EDT gpg: using RSA key E247329948EA8380 gpg: Can't check signature: No public key

    Google searches returned some very old information about gpg not being able to connect to a public key store that would have the key the command is looking for. However, I don't know how valid that is any more.

    I was running CPAN v2.20 before it suggested that I install the latest version v2.38.

        Thanks! Loading the public keys from the Web site you listed did the job.