Your message dated Mon, 22 Feb 2016 13:00:01 +0200 with message-id <[email protected]> and subject line Re: Error: Module is for different version has caused the Debian Bug report #664625, regarding auth: Error: Module is for different version to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 664625: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664625 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: dovecot-core Version: 1:2.0.18-1 Severity: important Dear Maintainer, an over night upgrade left dovecot not working. this was from syslog: Mar 19 06:55:50 mail dovecot: auth: Error: Module is for different version 2.0.15: /usr/lib/dovecot/modules/auth/libdriver_pgsql.so from /var/log/apt/history.log : Start-Date: 2012-03-19 01:05:20 Upgrade: dovecot-common:amd64 (2.0.15-1, 2.0.18-1), dovecot-core:amd64 (2.0.15-1, 2.0.18-1), dovecot-managesieved:amd64 (2.0.15-1, 2.0.18-1), dovecot-sieve:amd64 (2.0.15-1, 2.0.18-1), dovecot-pgsql:amd64 (2.0.15-1, 2.0.18-1), dovecot-sqlite:amd64 (2.0.15-1, 2.0.18-1), dovecot-imapd:amd64 (2.0.15-1, 2.0.18-1), dovecot-gssapi:amd64 (2.0.15-1, 2.0.18-1), dovecot-ldap:amd64 (2.0.15-1, 2.0.18-1), geoip-database:amd64 (20120211-1, 20120308-1), dovecot-lmtpd:amd64 (2.0.15-1, 2.0.18-1), dovecot-mysql:amd64 (2.0.15-1, 2.0.18-1), gpgv:amd64 (1.4.11-3, 1.4.12-4), binutils:amd64 (2.22-5, 2.22-6), libio-socket-ssl-perl:amd64 (1.58-1, 1.59-1), gnupg:amd64 (1.4.11-3, 1.4.12-4) Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2012-03-19 01:05:31 to fix : aptitude update aptitude aptitude full-upgrade Start-Date: 2012-03-19 06:55:49 Upgrade: dovecot-managesieved:amd64 (2.0.15-1, 2.0.18-1), dovecot-sieve:amd64 (2.0.15-1, 2.0.18-1), dovecot-pgsql:amd64 (2.0.15-1, 2.0.18-1), dovecot-sqlite:amd64 (2.0.15-1, 2.0.18-1), dovecot-ldap:amd64 (2.0.15-1, 2.0.18-1), dovecot-lmtpd:amd64 (2.0.15-1, 2.0.18-1) End-Date: 2012-03-19 06:56:08 *** Please consider answering these questions, where appropriate *** * What led up to the situation? apt upgrade * What exactly did you do (or not do) that was effective (or ineffective)? to fix I did aptitude update aptitude update * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these lines *** -- Package-specific info: dovecot configuration --------------------- # 2.0.18: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-7-pve x86_64 Debian wheezy/sid auth_mechanisms = plain login auth_username_format = %Ln lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes mail_location = maildir:%h/Maildir mail_plugins = " quota" maildir_very_dirty_syncs = yes managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave namespace { inbox = yes location = prefix = INBOX. separator = . type = private } passdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } plugin { mail_plugins = quota sieve quota = fs:user quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=80%% quota-warning 80 %u quota_warning3 = storage=60%% quota-warning 60 %u quota_warning4 = storage=40%% quota-warning 40 %u sieve = ~/.dovecot.sieve sieve_before = /etc/dovecot/sieve/spam.sieve sieve_dir = ~/sieve sieve_global_dir = /etc/dovecot/sieve/ } postmaster_address = [email protected] protocols = " imap lmtp sieve" quota_full_tempfail = yes service auth-worker { user = $default_internal_user } service auth { unix_listener /var/spool/postfix/private/auth { mode = 0666 } unix_listener auth-userdb { group = postfix mode = 0600 user = postfix } } service imap-login { service_count = 0 vsz_limit = 128 M } service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0660 user = postfix } } service managesieve-login { inet_listener sieve { port = 4190 } process_min_avail = 1 service_count = 0 vsz_limit = 256 M } service quota-warning { executable = script /fbc/bin/mail/quota-warning.sh user = dovecot } ssl = required ssl_ca = </etc/postfix/ssl/gd_bundle.crt ssl_cert = </etc/postfix/ssl/mail.fantinibakery.com.crt ssl_key = </etc/postfix/ssl/mail.fantinibakery.com.key userdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } protocol lmtp { mail_plugins = quota sieve } protocol imap { mail_max_userip_connections = 30 mail_plugins = " quota imap_quota" plugin { antispam_backend = spool2dir antispam_signature = X-DSPAM-Signature antispam_spam = Junk antispam_spool2dir_notspam = /var/spamtrain/not-spam/%%020lu-%u-%%05 antispam_spool2dir_spam = /var/spamtrain/spam/%%020lu-%u-%%05 antispam_trash = Trash antispam_verbose_debug = 1 } } protocol sieve { mail_debug = yes managesieve_implementation_string = Dovecot Pigeonhole } -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-7-pve (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages dovecot-core depends on: ii adduser 3.113+nmu1 ii libbz2-1.0 1.0.6-1 ii libc6 2.13-27 ii libpam-runtime 1.1.3-7 ii libpam0g 1.1.3-7 ii libssl1.0.0 1.0.0h-1 ii openssl 1.0.0h-1 ii ucf 3.0025+nmu2 ii zlib1g 1:1.2.6.dfsg-2 dovecot-core recommends no packages. Versions of packages dovecot-core suggests: pn dovecot-gssapi 1:2.0.18-1 pn dovecot-imapd 1:2.0.18-1 pn dovecot-ldap 1:2.0.18-1 pn dovecot-lmtpd 1:2.0.18-1 pn dovecot-managesieved 1:2.0.18-1 pn dovecot-mysql 1:2.0.18-1 pn dovecot-pgsql 1:2.0.18-1 pn dovecot-pop3d <none> pn dovecot-sieve 1:2.0.18-1 pn dovecot-solr <none> pn dovecot-sqlite 1:2.0.18-1 pn ntp <none> Versions of packages dovecot-core is related to: ii dovecot-common 1:2.0.18-1 ii dovecot-core [dovecot-common] 1:2.0.18-1 ii dovecot-dbg <none> ii dovecot-dev <none> ii dovecot-gssapi 1:2.0.18-1 ii dovecot-imapd 1:2.0.18-1 ii dovecot-ldap 1:2.0.18-1 ii dovecot-lmtpd 1:2.0.18-1 ii dovecot-managesieved 1:2.0.18-1 ii dovecot-mysql 1:2.0.18-1 ii dovecot-pgsql 1:2.0.18-1 ii dovecot-pop3d <none> ii dovecot-sieve 1:2.0.18-1 ii dovecot-sqlite 1:2.0.18-1 -- no debconf information
--- End Message ---
--- Begin Message ---Version: 1:2.1.7-3 On Fri, 1 Jun 2012 17:42:38 -0400 (EDT) "Jaldhar H. Vyas" <[email protected]> wrote: > On Fri, 1 Jun 2012, Timo Sirainen wrote: > > > The way it should work when upgrading is: > > > > 1. Stop dovecot > > 2. Install files for all new dovecot packages > > 3. Start dovecot > > > > Is that possible? Or most importantly dovecot-core and dovecot-managesieved > > needs to be installed in the same step. > > dpkg triggers should allow it. I'll have to figure out the details but I > think other server packages like Apache do this. Triggers have been implemented in 1:2.1.7-3. dovecot is now stopped by the first module package updated and (re-)started at the end of the upgrade by the dpkg trigger.
--- End Message ---

