…I had gpg in a world-writable directory. I fixed the permissions, and 
SpamAssassin installed perfectly.

Thanks!

As a side-note, it seems like the error message returned by dpkg (and thus 
SpamAssassin, I guess) is incorrect. Where it mentions “sa-compile”, it should 
really be mentioning “sa-update”, as the man page for sa-update contains the 
“--nogpg” option, and the man page for sa-compile does not.

> On Oct 25, 2018, at 8:14 AM, RW <rwmailli...@googlemail.com> wrote:
> 
> On Wed, 24 Oct 2018 20:44:57 -0400
> Alexander Lieflander wrote:
> 
>> "gpg --version” returns:
>> 
>> gpg (GnuPG) 2.2.4
> 
> It looks like the error comes from inside sa-update. 
> 
> sa-update will remove any insecure locations from PATH. Do you have gpg
> in a world writable directory or access it from a path that isn't
> absolute? 
> 
> If you have an sa-update and it works without complaining about gpg,
> it's probably something do with the install environment, in which
> case you should take it up with the packager.
> 
> 
> 

Reply via email to