Comment 34 for bug 67111

Revision history for this message
Egon Frerich (e-frerich) wrote : Re: [Bug 67111] Re: [SRU]: Cyrus linked against db4.4 compiled against 4.3 ?

Hello Steve,

Steve Kowalik schrieb:
> I'd like to get people to test my update in edgy-proposed so it can
> either be fixed properly, or get signed off and propagate to edgy-
> updates.
>
> The steps to do this depend of if you used Daniel Givens' test packages
> or not.
>

Yes, I've them installed.
> If you did:
>
> You need to downgrade your Cyrus databases from libdb 4.4 back down to 4.3.

My db's are filled with mails so I cannot simple remove them. But I
tried to find the files.
> You can do this by running the following commands *before* installing the Cyrus package in edgy-proposed:
> # /etc/init.d/cyrus stop
>
It is cyrus2.2
> $ sudo -u cyrus bash
> $ cd /var/imap/
>
Db's I found in /var/lib/cyrus
> $ rm db/*
> $ rm db.backup?/*
> $ rm deliver.db
> $ rm tls_sessions.db
> $ /usr/lib/cyrus/ctl_mboxlist -d > mailboxes.txt
>
ctl_mboxlist is not in /usr/lib/cyrus but cyrus-db-types.txt and
cyrus-db-types.active. Here I found "DBENGINE BerkeleyDB4.3". Not 4.4 !!

Maybe it helps.

Egon
> $ mv mailboxes.db mailboxes.db.old
>
> You can now upgrade to the packages in edgy-propsed, and run:
> $ sudo -u cyrus bash # if required again
> $ /usr/lib/cyrus/ctl_mboxlist -u < mailboxes.txt
> # /etc/init.d/cyrus start
>
> If you didn't use Daniel's packages, you should still be using libdb 4.3
> databases, and so just need to upgrade to the packages in edgy-proposed
> and see if they work.
>
>