Hi,

Dne 26. 08. 23 v 5:13 Yadd napsal(a):
And there is typo in postinst in cyrus-common package (you must test zero size and compare version in variable $2, not $1):
===
case "$1" in
     configure)
         # Refuse to update if previous version is lower than 3.2.6-2+deb11u2~          if [ -z "$1" ] || $(dpkg --compare-versions $1 lt '3.2.6-2+deb11u2~'); then              echo "You must update cyrus-imapd to at least version 3.2.6-2+deb11u2~" >&2              echo "before updating it to version 3.6.x and run it, else your mailboxes" >&2
             echo "may be corrupted" >&2
             exit 1
         fi
===

Regards,
Petr Jurasek

Hi,

thanks for the fix. Did you get this issue when upgrading from 3.2.6-2+deb11u2 or upgrading from 3.2.6-2 ?

it was upgrade from buster, 3.0.8-6+deb10u6. Now I know, that it's not unsupported, but with this typo it was possible. But I tested this upgrade on few instances without problem. This was first situation and I think, that this mailbox database inconsistency was the reason.

Regards,
Petr Jurasek

Reply via email to