I now found out how to trigger the bug even with your latest version. This explains why I saw the installation hanging the first time I installed v2.2.13-9 because I installed dovecot-core AND dovecot-imapd:

*******
dpkg -i /var/cache/apt/archives/dovecot-core_1%3a2.2.13-9_amd64.deb
*******

does not cause a problem,

*******
dpkg -i /var/cache/apt/archives/dovecot-core_1%3a2.2.13-9_amd64.deb /var/cache/apt/archives/dovecot-imapd_1%3a2.2.13-9_amd64.deb
*******

does cause the upgrade/installation to hang after the restart of the IMAP server.

I can finish the installation by running "ctrl-C" followed by "dpkg --configure -a".


It seems dovecot-imapd must be tweeked, too. Here the output from its installation:

***************
~# LANG=C DEBCONF_DEBUG=.* dpkg -i /var/cache/apt/archives/dovecot-imapd_1%3a2.2.13-9_amd64.deb 2>&1 debconf.log
(Reading database ... 231349 files and directories currently installed.)
Preparing to unpack .../dovecot-imapd_1%3a2.2.13-9_amd64.deb ...
[ ok ] Stopping IMAP/POP3 mail server: dovecot.
Unpacking dovecot-imapd (1:2.2.13-9) over (1:2.2.13-9) ...
dpkg-deb: error: `debconf.log' is not a debian format archive
dpkg: error processing archive debconf.log (--install):
 subprocess dpkg-deb --control returned error exit status 2
Setting up dovecot-imapd (1:2.2.13-9) ...
debconf (db): making DbDriver of type File
debconf (db config): started; filename is /var/cache/debconf/config.dat
debconf (db config): loading database
debconf (db): making DbDriver of type File
debconf (db passwords): started; filename is /var/cache/debconf/passwords.dat
debconf (db passwords): loading database
debconf (db): making DbDriver of type Stack
debconf (db): making DbDriver of type File
debconf (db templatedb): started; filename is /var/cache/debconf/templates.dat
debconf (db templatedb): loading database
debconf (developer): frontend started
debconf (db configdb): trying to getfield(debconf/frontend value) ..
debconf (db configdb): getfield done by config
debconf (user): trying frontend Dialog
debconf (developer): Trying to find a templates file..
debconf (developer): Trying /usr/bin/ucf.templates
debconf (developer): Trying /usr/share/debconf/templates/ucf.templates
debconf (developer): Couldn't find a templates file.
debconf (developer): frontend running, package name is
debconf (developer): starting /usr/bin/ucf --three-way --debconf-ok /usr/share/dovecot/conf.d/20-imap.conf /etc/dovecot/conf.d/20-imap.conf debconf (developer): <-- X_LOADTEMPLATEFILE /var/lib/dpkg/info/ucf.templates ucf
debconf (db configdb): trying to addowner(ucf/title ucf title) ..
debconf (db configdb): passing to config ..
debconf (db configdb): trying to addowner(ucf/changeprompt_threeway ucf select) ..
debconf (db configdb): passing to config ..
debconf (db configdb): trying to addowner(ucf/changeprompt ucf select) ..
debconf (db configdb): passing to config ..
debconf (db configdb): trying to addowner(ucf/show_diff ucf note) ..
debconf (db configdb): passing to config ..
debconf (db configdb): trying to addowner(ucf/conflicts_found ucf error) ..
debconf (db configdb): passing to config ..
debconf (developer): --> 0
debconf (developer): <-- SETTITLE ucf/title
debconf (db configdb): trying to getfield(ucf/title template) ..
debconf (db configdb): getfield done by config
debconf (db configdb): trying to variables(ucf/title) ..
debconf (db passwords): cache miss on ucf/title
debconf (developer): --> 0
debconf (db config): no database changes, not saving
debconf (db passwords): no database changes, not saving
debconf (db templatedb): saving database
Processing triggers for dovecot-core (1:2.2.13-9) ...
debconf (db): making DbDriver of type File
debconf (db config): started; filename is /var/cache/debconf/config.dat
debconf (db config): loading database
debconf (db): making DbDriver of type File
debconf (db passwords): started; filename is /var/cache/debconf/passwords.dat
debconf (db passwords): loading database
debconf (db): making DbDriver of type Stack
debconf (db): making DbDriver of type File
debconf (db templatedb): started; filename is /var/cache/debconf/templates.dat
debconf (db templatedb): loading database
debconf (developer): frontend started
debconf (db configdb): trying to getfield(debconf/frontend value) ..
debconf (db configdb): getfield done by config
debconf (user): trying frontend Dialog
debconf (developer): frontend running, package name is dovecot-core
debconf (developer): starting /var/lib/dpkg/info/dovecot-core.postinst triggered /usr/lib/dovecot/modules register-dovecot-plugin
[ ok ] Restarting IMAP/POP3 mail server: dovecot.
[ ok ] Starting IMAP/POP3 mail server: dovecot.

***************

^^^^^^^^^^^^
hanging here


Let me know if you need more info.

MH


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to