Univention Bugzilla – Bug 44559
Modify UCS-Dovecot dependencies to allow using Dovecot Pro
Last modified: 2017-05-31 16:19:38 CEST
Modify the package dependencies of univention-mail-dovecot to allow to use Dovecot Pro with the mailserver app.
79246: allow to install Dovecot Pro 79247: advisory Package: univention-mail-dovecot Version: 3.0.1-1A~4.2.0.201705091502 Branch: ucs_4.2-0 Scope: errata4.2-0 The package dovecot-ee-core depends on libstemmer0d, so you'll have to allow unmaintained packages. If the univention-mail-server (the mailserver app) is already installed, and Debians Dovecot packages should be replaced without prior deinstallation of univention-mail-server (an ox etc), all installed Dovecot packages must be listed in the following command: # apt-get install dovecot-ee-core dovecot-ee-imapd dovecot-ee-ldap dovecot-ee-lmtpd dovecot-ee-managesieved dovecot-ee-pop3d dovecot-ee-sieve Append other package names to the above command, if they are installed (for examaple dovecot-ee-solr): # dpkg-query -W -f='${db:Status-Abbrev} ${binary:Package}\n' 'dovecot-*' | egrep ^i If dovecot is already installed, an error happens during the apt-get install run: ============================================================== Vorbereitung zum Entpacken von .../dovecot-ee-lmtpd_2%3a2.2.29.1-5_amd64.deb ... Entpacken von dovecot-ee-lmtpd (2:2.2.29.1-5) ... dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/dovecot-ee-lmtpd_2%3a2.2.29.1-5_amd64.deb (--unpack): Versuch, »/usr/share/dovecot/conf.d/20-lmtp.conf« zu überschreiben, welches auch in Paket dovecot-lmtpd 1:2.2.13-12~deb8u1 ist ============================================================== The only way to not first uninstall univention-mail-server (and possibly ox app) and to manually remove dovecot-lmtpd is to allow dpkg to overwrite the file: # dpkg -i --force-overwrite /var/cache/apt/archives/dovecot-ee-lmtpd_*.deb Then continue the installation: # apt-get -f install In my case dovecot wasn't running then. It could not be started, because the service was "masked". To enable it I ran: # systemctl unmask dovecot.service # systemctl unmask dovecot.socket # systemctl start dovecot.service ucs-tests look promising.
Created attachment 8832 [details] univention-mail-dovecot_3.0.1-1A~4.2.0.201705091502_all.deb
OK: Dependency update in univention-mail-dovecot package OK: Add dovecot-pro repo + univention-install dovecot-ee-lmtpd dovecot-ee-core dovecot-ee-imapd dovecot-ee-ldap dovecot-ee-managesieved dovecot-ee-pop3d dovecot-ee-sieve OK: Yaml Verified
<http://errata.software-univention.de/ucs/4.2/26.html>