Topic: Install Fail gpg is installed but not recognized
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Apache already installed
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
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):
subprocess installed post-installation script 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
No apport report written because the error message indicates its a followup error from a previous failure.
Setting up amavisd-new (1:2.10.1-2ubuntu1) ...
Creating/updating amavis user account...
insserv: warning: script 'K01dynipbatch' missing LSB tags and overrides
insserv: warning: script 'dynipbatch' missing LSB tags and overrides
insserv: warning: script 'noipbatch' missing LSB tags and overrides
Job for amavis.service failed because the control process exited with error code. See "systemctl status amavis.service" and "journalctl -xe" for details.
invoke-rc.d: initscript amavis, action "start" failed.
* amavis.service - LSB: Starts amavisd-new mailfilter
Loaded: loaded (/etc/init.d/amavis; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2018-05-03 18:25:23 EDT; 5ms ago
Docs: man:systemd-sysv-generator(8)
Process: 22609 ExecStart=/etc/init.d/amavis start (code=exited, status=1/FAILURE)
May 03 18:25:23 mail systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
May 03 18:25:23 mail amavis[22609]: Starting amavisd: Insecure directory in...0.
May 03 18:25:23 mail amavis[22609]: (failed).
May 03 18:25:23 mail systemd[1]: amavis.service: Control process exited, co...=1
May 03 18:25:23 mail systemd[1]: Failed to start LSB: Starts amavisd-new ma...r.
May 03 18:25:23 mail systemd[1]: amavis.service: Unit entered failed state.
May 03 18:25:23 mail systemd[1]: amavis.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package amavisd-new (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for systemd (229-4ubuntu21.2) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
spamassassin
sa-compile
amavisd-new
E: Sub-process /usr/bin/dpkg returned an error code (1)
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: https://forum.iredmail.org/
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.