1

Topic: installation failure - error processing package sa-compile

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release) - iRedMail-1.6.2
- Deployed with iRedMail Easy or the downloadable installer? - downloadable installer
- Linux/BSD distribution name and version: Ubuntu 22.04.1 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): openldap
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi, this is the error I get:

dpkg: error processing package sa-compile (--configure):
installed sa-compile package post-installation script subprocess returned error exit status 137
Errors were encountered while processing:
sa-compile
needrestart is being skipped since dpkg has failed
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.

2

Re: installation failure - error processing package sa-compile

Try to install it manually, once succeeded, run iRedMail installer again.

apt install -y sa-compile

3

Re: installation failure - error processing package sa-compile

Thanks, when I tried to install it manually it also failed:


root@ubuntu-s-1vcpu-512mb-10gb-fra1-01:~# apt install -y sa-compile
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
sa-compile is already the newest version (3.4.6-1build3).
sa-compile set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up sa-compile (3.4.6-1build3) ...
Running sa-compile (may take a long time)
Killed
dpkg: error processing package sa-compile (--configure):
installed sa-compile package post-installation script subprocess returned error exit status 137
Errors were encountered while processing:
sa-compile
E: Sub-process /usr/bin/dpkg returned an error code (1)

4

Re: installation failure - error processing package sa-compile

Does removing "sa-compile" package first then reinstall fix the issue?