Hi Augustín, are you able to retry the upgrade with following patch?
diff --git a/debian/cyrus-upgrade-db b/debian/cyrus-upgrade-db index 82a9d8e..2077a1f 100755 --- a/debian/cyrus-upgrade-db +++ b/debian/cyrus-upgrade-db @@ -182,13 +182,8 @@ upgradealldb() { # Create Berkeley DB checkpoint and remove old logs if [ -n "${DO_UPGRADE_BDB}" -a -d $CONFIG_DIR/db ]; then - if [ -f /usr/lib/cyrus/berkeley-db-found.txt ]; then - # Create new checkpoint - checkpointbdb $NEW_DBVERSION - else - # Remove empty environment - rm -rf $CONFIG_DIR/db - fi + # Create new checkpoint + checkpointbdb $NEW_DBVERSION fi [ -f /usr/lib/cyrus/berkeley-db-found.txt ] && \ (aka never remove the BerkeleyDB environment, just checkpoint it every time) Cheers, Ondrej On Tue, Dec 22, 2015, at 22:30, Agustín Eijo wrote: > Hello, > > I tried to make the upgrade from wheezy to sid, but I have the same > problem with 2.4.18-1. > > The script /usr/lib/cyrus/bin/upgrade-db delete /var/lib/cyrus/db > directory > > I tried changing: > > 190c190 > < rm -rf $CONFIG_DIR/db > --- > > rm -rf $CONFIG_DIR/db/* > > And the upgrade works well... > > Agustín. > > > El 21/12/2015 a las 09:24 a.m., Debian Bug Tracking System escribió: > > This is an automatic notification regarding your Bug report > > which was filed against the cyrus-common package: > > > > #803976: cyrus-common: /usr/lib/cyrus/bin/upgrade-db delete > > /var/lib/cyrus/db on upgrade from wheezy to jessie > > > > It has been closed by Ondřej Surý <ond...@debian.org>. > > > > Their explanation is attached below along with your original report. > > If this explanation is unsatisfactory and you have not received a > > better one in a separate message then please contact Ondřej Surý > > <ond...@debian.org> by > > replying to this email. > > > > > -- Ondřej Surý <ond...@sury.org> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server