1

Topic: Trouble Installing because of php7.2-mcrypt

======== Required information ====
- iRedMail version (0.9.7):
- Linux/BSD distribution name and version: Ubuntu 16.04.3 LTS (GNU/Linux 4.14.12-x86_64-linode92 x86_64)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I need a hand to install iRedMail

[LOG MESSAGE]
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-mcrypt : Depends: php7.2-mcrypt but it is not installable
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: http://www.iredmail.org/forum/
root@web:~/iRedMail-0.9.7#  http://www.iredmail.org/forum/

Post's attachments

iredmail.png
iredmail.png 7.89 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

----

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

2

Re: Trouble Installing because of php7.2-mcrypt

Ubuntu 16.04 ships php-mcrypt and php7.0-mcrypt, why you have php7.2-mcrypt?

3

Re: Trouble Installing because of php7.2-mcrypt

php7.2-mcrypt is deprecated and not shipped with php since 7.1

4

Re: Trouble Installing because of php7.2-mcrypt

I have tried to install iredmail with the exact same setup as the OP.
I am receiving this same error.
PHP 7.0 is installed not 7.2
I have tried installing with php 5.6 or 7.0 activated both with mcrypt module installed.
Same error.
I dont understand why it is asking for something that does not exist(seems like there is no such thing as mcypt for php7.2)

5

Re: Trouble Installing because of php7.2-mcrypt

I cannot reproduce this issue locally. Could you please share how i can steadily reproduce it?

6 (edited by nishanth 2018-04-05 18:39:15)

Re: Trouble Installing because of php7.2-mcrypt

Issue Solved when installing php7.2-mcrypt

I was also facing the same issue. Check this link https://stackoverflow.com/q/48275494/7713811 to get the right solution for installing it in PHP
cool