1

Topic: error install

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version-0.9.5-1

- Linux/BSD distribution name and version:
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux 8.4 (jessie)
Release:    8.4
Codename:    jessie

- Store mail accounts in which backend: mariadb
- Web server:  Nginx:
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

< Question > Continue? [y|N]y
[ INFO ] Installing package(s): postfix postfix-pcre mariadb-server mariadb-client postfix-mysql libdbd-mysql-perl php5-cli php5-json php5-gd php5-mcrypt php5-curl mcrypt php5-intl php5-mysql nginx-full php5-fpm 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 zoo nomarch cpio lzop cabextract p7zip rpm ripole libmail-spf-perl unrar-free pax python-sqlalchemy python-dnspython python-mysqldb python-jinja2 python-netifaces python-webpy python-beautifulsoup python-lxml uwsgi uwsgi-plugin-python python-bcrypt fail2ban bzip2 acl patch cron tofrodos logwatch unzip bsdutils
Reading package lists...
Building dependency tree...
Reading state information...
acl is already the newest version.
altermime is already the newest version.
altermime set to manually installed.
amavisd-new is already the newest version.
bzip2 is already the newest version.
cpio is already the newest version.
cron is already the newest version.
python-dnspython is already the newest version.
python-dnspython set to manually installed.
dovecot-imapd is already the newest version.
dovecot-lmtpd is already the newest version.
dovecot-managesieved is already the newest version.
dovecot-mysql is already the newest version.
dovecot-pop3d is already the newest version.
dovecot-sieve is already the newest version.
libcrypt-openssl-rsa-perl is already the newest version.
libcrypt-openssl-rsa-perl set to manually installed.
libmail-dkim-perl is already the newest version.
libmail-dkim-perl set to manually installed.
libmail-spf-perl is already the newest version.
libmail-spf-perl set to manually installed.
patch is already the newest version.
pax is already the newest version.
pax set to manually installed.
postfix is already the newest version.
postfix-mysql is already the newest version.
postfix-pcre is already the newest version.
ripole is already the newest version.
ripole set to manually installed.
spamassassin is already the newest version.
unzip is already the newest version.
unzip set to manually installed.
bsdutils is already the newest version.
mariadb-server is already the newest version.
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:
mariadb-server : Depends: mariadb-server-10.1 (= 10.1.13+maria-1~jessie) 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: http://www.iredmail.org/forum/


how to fix?

----

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

2

Re: error install

Please show us output of commands below:

dpkg -l | grep -i mariadb

If you have mariadb installed, please remove it first, then try again.

3

Re: error install

dpkg -l | grep -i mariadb
ii  libmariadbclient18                 10.1.13+maria-1~jessie       amd64        MariaDB database client library
ii  mariadb-client-10.1                10.1.13+maria-1~jessie       amd64        MariaDB database client binaries
ii  mariadb-client-core-10.1           10.1.13+maria-1~jessie       amd64        MariaDB database core client binaries
ii  mariadb-common                     10.1.13+maria-1~jessie       all          MariaDB database common files (e.g. /etc/mysql/conf.d/mariadb.cnf)
ii  mariadb-server                     10.1.13+maria-1~jessie       all          MariaDB database server (metapackage depending on the latest version)
ii  mariadb-server-10.1                10.1.13+maria-1~jessie       amd64        MariaDB database server binaries
ii  mariadb-server-core-10.1           10.1.13+maria-1~jessie       amd64        MariaDB database core server files
ii  mysql-common                       10.1.13+maria-1~jessie       all          MariaDB database common files (e.g. /etc/mysql/my.cnf)

4

Re: error install

If you don't have any sql db in MariaDB, try to remove all mariadb packages, then reinstall iRedMail.

5

Re: error install

I deleted mariadb

bash iRedMail.sh

dpkg: error processing archive /var/cache/apt/archives/mariadb-server-10.0_10.0.27-0+deb8u1_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Failed to stop mysql.service: Unit mysql.service not loaded.
invoke-rc.d: initscript mysql, action "stop" failed.
Selecting previously unselected package mariadb-server.
Preparing to unpack .../mariadb-server_10.0.27-0+deb8u1_all.deb ...
Unpacking mariadb-server (10.0.27-0+deb8u1) ...
Errors were encountered while processing:
/var/cache/apt/archives/mariadb-server-10.0_10.0.27-0+deb8u1_amd64.deb
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: http://www.iredmail.org/forum/

6

Re: error install

No idea. Is it possible for you to try with a fresh, clean, minimal server OS?