Any advice on big upgrade lenny->jessie?

Boylan, Ross Ross.Boylan at ucsf.edu
Tue May 23 20:20:10 UTC 2017


>Is the following test in cyrus-common.postinst (from 2.4) right?
>       if [ -f /usr/lib/cyrus/cyrus-db-types.active ]; then
>            /usr/lib/cyrus/bin/upgrade-db
.....
> Should it be ! -f?

Narrowly, no, since debian/cyrus-upgrade-db, known as upgrade-db after installation, has 
upgradealldb /usr/lib/cyrus/cyrus-db-types.txt /usr/lib/cyrus/cyrus-db-types.active    
as it's top level action.  So it needs both files.

But it doesn't seem that deleting the .active file works to make it go through an upgrade.  I recall reading that upgrades were more automatic in 2.4, and judging from my logs it does seem that my non-bdb databases did get upgraded.


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