[Pkg-Cyrus-imapd-Debian-devel] Problem with statoverrides after upgrading cyrus22-* to cyrus-*2.2

Sven Mueller sven at incase.de
Tue Dec 13 16:15:17 UTC 2005


Henrique de Moraes Holschuh wrote on 12/12/2005 19:59:
> On Mon, 12 Dec 2005, Sven Mueller wrote:
> 
>>Should we document the necessary overrides in README.Debian or should be
>>provide a script which checks them and creates them if necessary? At
>>least one of these should probably be done.
> 
> You can recreate them on the initscript if they are not there, just pull the
> code block from postinst.

Will think about that. However, I would prefer to just tell the user
what he/she would need to do to fix the bug. I will probably pull the
code block from postinst and provide it as a small script in
/usr/share/doc/cyrus-common-2.2 or detail the steps in README.Debian.

> The correct fix, HOWEVER, is to make the old 2.1 and 2.2 packages
> *disappear* (in the dpkg sense) during upgrades, or else we have a very
> nasty, very unwelcome bug:
> 
>    We will lose user configuration.

Oh well, but _how_ do we make them disappear during upgrades?

> Not to mention that the only thing that saved us is the fact that we use
> conffiles and not config files+ucf... otherwise, /etc/imapd.conf and
> /etc/cyrus.conf would be gone too.

Probably yes. But at least this part I was aware of (I mean that the
conffiles are safe during the upgrades).

cu,
sven



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