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

Benjamin Seidenberg astronut at dlgeek.net
Tue Dec 13 20:47:13 UTC 2005


Sven Mueller wrote:

>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 sure if this is relavent, but:
(from policy)

A Conflicts entry should almost never have an "earlier than" version 
clause. *This would prevent |dpkg| from upgrading or installing the 
package which declared such a conflict until the upgrade or removal of 
the conflicted-with package had been completed.*

>>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
>
>_______________________________________________
>Pkg-Cyrus-imapd-Debian-devel mailing list
>Pkg-Cyrus-imapd-Debian-devel at lists.alioth.debian.org
>http://lists.alioth.debian.org/mailman/listinfo/pkg-cyrus-imapd-debian-devel
>
>  
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-cyrus-imapd-debian-devel/attachments/20051213/e38f1891/signature.pgp


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