1

Topic: Error installing iRedMail on Debian 10

Hello,

I have a Debian 10 server with apache and php7.3.

When trying to install iRedMail available on the download site I had the following feedback:

[ INFO ] Use config file: /home/michel/Downloads/iRedMail-1.2.1/config for mail server setting.
[ INFO ] Import installation process status from file: /home/michel/Downloads/iRedMail-1.2.1/runtime/install.status.
[ INFO ] Installing package(s): postfix postfix-pcre libsasl2-modules mariadb-client mariadb-server postfix-mysql libdbd-mysql-perl php-cli php-fpm php-json php-gd php-curl mcrypt php-intl php-xml php-mbstring php-mysql nginx-full dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-managesieved dovecot-sieve dovecot-mysql amavisd-new libcrypt-openssl-rsa-perl libmail-dkim-perl clamav-freshclam clamav-daemon spamassassin altermime arj nomarch cpio lzop cabextract p7zip-full rpm libmail-spf-perl unrar-free pax lrzip mlmmj python-sqlalchemy python-dnspython python-mysqldb python-jinja2 python-netifaces python-pycurl python-requests uwsgi uwsgi-plugin-python python-pip fail2ban geoip-bin geoip-database zlib1g libuuid1 libmnl0 curl lm-sensors netcat bzip2 acl patch cron tofrodos logwatch unzip bsdutils liblz4-tool nftables
Reading package lists...
Building dependency tree...
Reading state information...
acl is already the newest version (2.2.53-4).
acl set to manually installed.
bzip2 is already the newest version (1.0.6-9.2~deb10u1).
bzip2 set to manually installed.
cpio is already the newest version (2.12+dfsg-9).
cron is already the newest version (3.0pl1-134+deb10u1).
libsasl2-modules is already the newest version (2.1.27+dfsg-1+deb10u1).
libsasl2-modules set to manually installed.
python-dnspython is already the newest version (1.16.0-1).
python-dnspython set to manually installed.
geoip-database is already the newest version (20181108-1).
geoip-database set to manually installed.
libdbd-mysql-perl is already the newest version (4.050-2).
libdbd-mysql-perl set to manually installed.
libmnl0 is already the newest version (1.0.4-2).
mariadb-server is already the newest version (1:10.3.22-0+deb10u1).
p7zip-full is already the newest version (16.02+dfsg-6).
p7zip-full set to manually installed.
patch is already the newest version (2.7.6-3+deb10u1).
patch set to manually installed.
php-cli is already the newest version (2:7.3+69).
php-curl is already the newest version (2:7.3+69).
php-gd is already the newest version (2:7.3+69).
php-mbstring is already the newest version (2:7.3+69).
php-mysql is already the newest version (2:7.3+69).
php-xml is already the newest version (2:7.3+69).
unzip is already the newest version (6.0-23+deb10u1).
unzip set to manually installed.
bsdutils is already the newest version (1:2.33.1-0.1).
libuuid1 is already the newest version (2.33.1-0.1).
zlib1g is already the newest version (1:1.2.11.dfsg-1).
curl is already the newest version (7.64.0-4+deb10u1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
php-fpm : Depends: php7.3-fpm but it is not going to be installed
php-intl : Depends: php7.3-intl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
<< 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/


I used the option to store the data in MySQL.

Any suggestions as to what might be causing the error?

Any help will be welcome.

Thank you!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Error installing iRedMail on Debian 10

StraightFree wrote:

I have a Debian 10 server with apache and php7.3.

Did you check the "WARNING" message in our iRedMail installation guide?
https://docs.iredmail.org/install.iredm … quirements

Allow me quote it here:

iRedMail is designed to be deployed on a FRESH server system, which means your server does NOT have mail related components installed, e.g. MySQL, OpenLDAP, Postfix, Dovecot, Amavisd, etc. iRedMail will install and configure them for you automatically. Otherwise it may override your existing files/configurations althought it will backup files before modifying, and it may not be working as expected.

StraightFree wrote:

php-fpm : Depends: php7.3-fpm but it is not going to be installed
php-intl : Depends: php7.3-intl but it is not going to be installed

Does your server have these 2 packages?
php7.3-fpm
php7.3-intl

3

Re: Error installing iRedMail on Debian 10

Thanks for your reply.

Thank you for your answer.

Sorry but I had not tried WARNING massage.
Would it be possible to install the script on servers with some of the pre-installed services?

I don't have the packages informed:
php7.3-fpm
php7.3-intl

I tried to install, but returns another error:

The following packages have conflicting dependencies:
php7.3-fpm: It depends: php7.3-common (= 7.3.11-1 ~ deb10u1) but 7.3.14-1 ~ deb10u1 is to be installed
E: Impossible to fix problems, you kept (hold) broken packages.

Do you know why occurs its return?

4

Re: Error installing iRedMail on Debian 10

I guess you have some custom apt repo on this server and caused the package conflict or missing.
Please try it on a fresh server.