Topic: Upgrade
==== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Linux/BSD distribution name and version: Debian/Wheezy
- Related log if you're reporting an issue:
====
Hello Zhang,
I was upgrading my server from Debian/Squeeze to Debian/Wheezy.
apt-get dist-upgrade did not complete successfully. I got the following output:(1). Then I tried again and got the following output:(2). During the upgrade, I left all the config files unchanged, including the dovecot. Could you please suggest how can I solve this ? Thanks.
(1)
===========================================
Processing triggers for python-central ...
Processing triggers for python-support ...
Errors were encountered while processing:
dovecot-core
dovecot-imapd
dovecot-pop3d
dovecot-common
dovecot-gssapi
dovecot-ldap
dovecot-mysql
dovecot-pgsql
dovecot-sieve
dovecot-sqlite
E: Sub-process /usr/bin/dpkg returned an error code (1)
==================================================
(2)
==================================================
# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
10 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up dovecot-core (1:2.1.7-7) ...
You already have ssl certs for dovecot.
However you should move them out of /etc/ssl
and into /etc/dovecot and update the configuration
in /etc/dovecot/conf.d/10-ssl.conf accordingly.
See /usr/share/doc/dovecot-core/README.Debian.gz for details.
doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:11: protocols=managesieve has been renamed to protocols=sieve
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:11: 'imaps' protocol is no longer necessary, remove it
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:11: 'pop3s' protocol is no longer necessary, remove it
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:54: mail_process_size has been replaced by service { vsz_limit }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:72: login_process_per_connection has been replaced by service { service_count }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:115: ssl_key_file has been replaced by ssl_key = dovecot-new.conf
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:11: protocols=managesieve has been renamed to protocols=sieve
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:11: 'imaps' protocol is no longer necessary, remove it
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:11: 'pop3s' protocol is no longer necessary, remove it
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:54: mail_process_size has been replaced by service { vsz_limit }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:72: login_process_per_connection has been replaced by service { service_count }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:115: ssl_key_file has been replaced by ssl_key = failed.
dpkg: error processing dovecot-core (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of dovecot-gssapi:
dovecot-gssapi depends on dovecot-core (= 1:2.1.7-7); however:
Package dovecot-core is not configured yet.
dpkg: error processing dovecot-gssapi (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dovecot-imapd:
dovecot-imapd depends on dovecot-core (= 1:2.1.7-7); however:
Package dovecot-core is not configured yet.
dpkg: error processing dovecot-imapd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dovecot-ldap:
dovecot-ldap depends on dovecot-core (= 1:2.1.7-7); however:
Package dovecot-core is not configured yet.
dpkg: error processing dovecot-ldap (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dovecot-mysql:
dovecot-mysql depends on dovecot-core (= 1:2.1.7-7); however:
Package dovecot-core is not configured yet.
dpkg: error processing dovecot-mysql (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dovecot-pgsql:
dovecot-pgsql depends on dovecot-core (= 1:2.1.7-7); however:
Package dovecot-core is not configured yet.
dpkg: error processing dovecot-pgsql (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dovecot-pop3d:
dovecot-pop3d depends on dovecot-core (= 1:2.1.7-7); however:
Package dovecot-core is not configured yet.
dpkg: error processing dovecot-pop3d (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dovecot-sieve:
dovecot-sieve depends on dovecot-core (= 1:2.1.7-7); however:
Package dovecot-core is not configured yet.
dpkg: error processing dovecot-sieve (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dovecot-sqlite:
dovecot-sqlite depends on dovecot-core (= 1:2.1.7-7); however:
Package dovecot-core is not configured yet.
dpkg: error processing dovecot-sqlite (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dovecot-common:
dovecot-common depends on dovecot-core; however:
Package dovecot-core is not configured yet.
dpkg: error processing dovecot-common (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
dovecot-core
dovecot-gssapi
dovecot-imapd
dovecot-ldap
dovecot-mysql
dovecot-pgsql
dovecot-pop3d
dovecot-sieve
dovecot-sqlite
dovecot-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
==================================================
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.