Bug#694254: cyrus-common-2.4: upgrading from lenny to squeeze to wheezy requires db4.2-util in wheezy for db migration
Ondřej Surý
ondrej at sury.org
Tue Nov 27 11:14:31 UTC 2012
severity 694254 wishlist
thank you
This is not a bug per se. Manual intervention is required to upgrade
from lenny to squeeze, and there is no way how to automate this from
wheezy. Setting the severity to wishlist, so it's kept as an evidence,
but feel free to close the bug report if you think it's more
appropriate.
Ondrej
cyrus-common-2.2 has following debconf dialogue:
Template: cyrus-common-2.2/warnbackendchange
Type: error
Description: Modified database backends
Comparison between /usr/lib/cyrus/cyrus-db-types.txt and
/usr/lib/cyrus/cyrus-db-types.active shows that database backends for
Cyrus IMAPd have been changed.
.
This means that those databases for which the database backends changed
might need to be converted manually to the new format, using the
cvt_cyrusdb(8) utility.
.
Please refer to /usr/share/doc/cyrus-common-2.2/README.Debian.database
for more information. Do not start cyrmaster until you have converted
the databases to the new format.
Ondrej
On Sun, Nov 25, 2012 at 4:43 PM, Ondřej Surý <ondrej at sury.org> wrote:
> Hi,
>
> upgrading from lenny to squeeze required manual intervention. E.g. it's more a feature than a bug.
>
> Ondřej Surý
>
> On 24. 11. 2012, at 19:52, Andreas Beckmann <debian at abeckmann.de> wrote:
>
>> 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
>> <cyrus-common-2.2_2.4.16-2.log.gz>
>> _______________________________________________
>> Pkg-Cyrus-imapd-Debian-devel mailing list
>> Pkg-Cyrus-imapd-Debian-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-cyrus-imapd-debian-devel
--
Ondřej Surý <ondrej at sury.org>
More information about the Pkg-Cyrus-imapd-Debian-devel
mailing list