Bug#694254: cyrus-common-2.4: upgrading from lenny to squeeze to wheezy requires db4.2-util in wheezy for db migration

Andreas Beckmann debian at abeckmann.de
Sat Nov 24 18:52:04 UTC 2012


Package: cyrus-common-2.2,cyrus-common-2.4
Version: 2.4.16-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a distupgrade test with piuparts I noticed your package requires
the db4.2-util package (which is only in lenny) to perform a db upgrade
in wheezy. Looks like the db has not been upgraded during the
lenny->squeeze upgrade step.

This was observed on a piuparts test distupgrading from lenny to squeeze
to wheezy. Setting the severity to serious since this may affect the
upgrade path of servers that were initially set up with lenny (or
earlier) and were upgraded to squeeze long ago.


>From the attached log:

  Setting up db4.7-util (4.7.25-21) ...
  Setting up db4.8-util (4.8.30-12) ...
  Setting up cyrus-common (2.4.16-2) ...
  Installing new version of config file /etc/pam.d/sieve ...
  Installing new version of config file /etc/pam.d/lmtp ...
  Creating/updating cyrus user account...
  The user `cyrus' is already a member of `sasl'.
  cyrus-common: Creating cyrus-imapd directories...Creating/updating cyrus control directories in /var/lib/cyrus...
  Creating/updating partition spool /var/spool/cyrus/mail...
  Creating/updating partition spool /var/spool/cyrus/news...
  Trying to optimize Cyrus partitions, edit /etc/default/cyrus-imapd to disable...
  done.
  cyrus-common: Creating empty user_deny database...done.
  Setting up cyrus-common-2.4 (2.4.16-2) ...
  Installing new version of config file /etc/imapd.conf ...
  Installing new version of config file /etc/cyrus.conf ...
  /usr/lib/cyrus/bin/upgrade-db: db4.2-util not installed
  /usr/lib/cyrus/bin/upgrade-db: please do: [sudo] apt-get install db4.2-util
  /usr/lib/cyrus/bin/upgrade-db: and rerun the upgrade again
  dpkg: error processing cyrus-common-2.4 (--configure):
   subprocess installed post-installation script returned error exit status 2
  dpkg: dependency problems prevent configuration of cyrus-common-2.2:
   cyrus-common-2.2 depends on cyrus-common-2.4; however:
    Package cyrus-common-2.4 is not configured yet.
  
  dpkg: error processing cyrus-common-2.2 (--configure):
   dependency problems - leaving unconfigured
  Errors were encountered while processing:
   cyrus-common-2.4
   cyrus-common-2.2

cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cyrus-common-2.2_2.4.16-2.log.gz
Type: application/x-gzip
Size: 46127 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cyrus-imapd-debian-devel/attachments/20121124/01b79e64/attachment.bin>


More information about the Pkg-Cyrus-imapd-Debian-devel mailing list