Hello,

When I try to install SpamAssassin via aptitude, the installation never gets 
past dpkg configuring them.
The specific error reads:

error: gpg required but not found!  It is not recommended, but you can use 
"sa-update" with the --no-gpg to skip the verification.

The weird thing is that I have the most recent version of gpg installed. And 
when I try the suggestion from the first error message (i.e. "sa-update 
--no-gpg”), I get another error that reads:

Unknown option: no-gpg

The man page for sa-update also doesn’t list that option anywhere…

Any ideas? By the way, I’ve attached the logs of my most recent installation 
attempt.

I’m using Ubuntu (server) 18.04.1 LTS.

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libmail-dkim-perl
  libmail-spf-perl libnet-dns-perl libnet-ip-perl libnetaddr-ip-perl re2c
  sa-compile
Suggested packages:
  razor libdbi-perl pyzor libencode-detect-perl libgeo-ip-perl
  libnet-patricia-perl
The following NEW packages will be installed:
  libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libmail-dkim-perl
  libmail-spf-perl libnet-dns-perl libnet-ip-perl libnetaddr-ip-perl re2c
  sa-compile spamassassin
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 2078 kB of archives.
After this operation, 6990 kB of additional disk space will be used.
Do you want to continue? [Y/n] Get:1 http://gb.archive.ubuntu.com/ubuntu 
bionic/main amd64 libcrypt-openssl-bignum-perl amd64 0.09-1build1 [24.7 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 
libcrypt-openssl-rsa-perl amd64 0.28-5build2 [21.7 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 libnet-ip-perl all 
1.26-1 [31.5 kB]
Get:4 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 libnet-dns-perl all 
1.10-2 [335 kB]
Get:5 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 libmail-dkim-perl 
all 0.44-1 [118 kB]
Get:6 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 libnetaddr-ip-perl 
amd64 4.079+dfsg-1build2 [81.2 kB]
Get:7 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 libmail-spf-perl 
all 2.9.0-4 [115 kB]
Get:8 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 re2c amd64 1.0.1-1 
[274 kB]
Get:9 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 spamassassin all 
3.4.1-8build1 [1063 kB]
Get:10 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 sa-compile all 
3.4.1-8build1 [13.2 kB]
Fetched 2078 kB in 1s (1910 kB/s)
Selecting previously unselected package libcrypt-openssl-bignum-perl.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 146321 files and directories currently installed.)
Preparing to unpack .../0-libcrypt-openssl-bignum-perl_0.09-1build1_amd64.deb 
...
Unpacking libcrypt-openssl-bignum-perl (0.09-1build1) ...
Selecting previously unselected package libcrypt-openssl-rsa-perl.
Preparing to unpack .../1-libcrypt-openssl-rsa-perl_0.28-5build2_amd64.deb ...
Unpacking libcrypt-openssl-rsa-perl (0.28-5build2) ...
Selecting previously unselected package libnet-ip-perl.
Preparing to unpack .../2-libnet-ip-perl_1.26-1_all.deb ...
Unpacking libnet-ip-perl (1.26-1) ...
Selecting previously unselected package libnet-dns-perl.
Preparing to unpack .../3-libnet-dns-perl_1.10-2_all.deb ...
Unpacking libnet-dns-perl (1.10-2) ...
Selecting previously unselected package libmail-dkim-perl.
Preparing to unpack .../4-libmail-dkim-perl_0.44-1_all.deb ...
Unpacking libmail-dkim-perl (0.44-1) ...
Selecting previously unselected package libnetaddr-ip-perl.
Preparing to unpack .../5-libnetaddr-ip-perl_4.079+dfsg-1build2_amd64.deb ...
Unpacking libnetaddr-ip-perl (4.079+dfsg-1build2) ...
Selecting previously unselected package libmail-spf-perl.
Preparing to unpack .../6-libmail-spf-perl_2.9.0-4_all.deb ...
Unpacking libmail-spf-perl (2.9.0-4) ...
Selecting previously unselected package re2c.
Preparing to unpack .../7-re2c_1.0.1-1_amd64.deb ...
Unpacking re2c (1.0.1-1) ...
Selecting previously unselected package spamassassin.
Preparing to unpack .../8-spamassassin_3.4.1-8build1_all.deb ...
Unpacking spamassassin (3.4.1-8build1) ...
Selecting previously unselected package sa-compile.
Preparing to unpack .../9-sa-compile_3.4.1-8build1_all.deb ...
Unpacking sa-compile (3.4.1-8build1) ...
Processing triggers for ureadahead (0.100.0-20) ...
Setting up libnet-ip-perl (1.26-1) ...
Setting up re2c (1.0.1-1) ...
Setting up libcrypt-openssl-bignum-perl (0.09-1build1) ...
Setting up libnet-dns-perl (1.10-2) ...
Setting up libcrypt-openssl-rsa-perl (0.28-5build2) ...
Setting up libnetaddr-ip-perl (4.079+dfsg-1build2) ...
Processing triggers for systemd (237-3ubuntu10.3) ...
Setting up libmail-spf-perl (2.9.0-4) ...
Setting up libmail-dkim-perl (0.44-1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up spamassassin (3.4.1-8build1) ...
error: gpg required but not found!  It is not recommended, but you can use 
"sa-update" with the --no-gpg to skip the verification. 
dpkg: error processing package spamassassin (--configure):
 installed spamassassin package post-installation script subprocess returned 
error exit status 2
dpkg: dependency problems prevent configuration of sa-compile:
 sa-compile depends on spamassassin; however:
  Package spamassassin is not configured yet.

dpkg: error processing package sa-compile (--configure):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for systemd (237-3ubuntu10.3) ...
Errors were encountered while processing:
 spamassassin
 sa-compile

Reply via email to