FS#31004 - [pigeonhole,dovecot] cannot upgrade to 2.1.9 because pigeonhole requires dovecot 2.1.8
Attached to Project:
Community Packages
Opened by Michiel Broek (mbroek) - Saturday, 04 August 2012, 12:59 GMT
Last edited by Peter Lewis (petelewis) - Friday, 29 March 2013, 13:42 GMT
Opened by Michiel Broek (mbroek) - Saturday, 04 August 2012, 12:59 GMT
Last edited by Peter Lewis (petelewis) - Friday, 29 March 2013, 13:42 GMT
|
Details
Description: pigeonhole must be rebuild and depend on
dovecot 2.1.9
Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: pacman -Syu :: Starting full system upgrade... resolving dependencies... looking for inter-conflicts... error: failed to prepare transaction (could not satisfy dependencies) :: pigeonhole: requires dovecot=2.1.8 |
This task depends upon
Closed by Peter Lewis (petelewis)
Friday, 29 March 2013, 13:42 GMT
Reason for closing: Fixed
Additional comments about closing: Pigeonhole and dovecot are being maintained by the same person now, and will be released together.
Friday, 29 March 2013, 13:42 GMT
Reason for closing: Fixed
Additional comments about closing: Pigeonhole and dovecot are being maintained by the same person now, and will be released together.
So it might be sufficient to adjust the dependency requiements of this package.
It looks like this could but it doesn't work. On a testbox I upgraaded dovecot to 2.1.9 and it fails to start:
root@homsrv: ~# rc.d start dovecot
:: Starting dovecot daemon [BUSY] doveconf: Error: Module is for different version 2.1.8: /usr/lib/dovecot/modules/settings/libmanagesieve_login_settings.so
doveconf: Error: Module is for different version 2.1.8: /usr/lib/dovecot/modules/settings/libmanagesieve_settings.so
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: protocols: Unknown protocol: sieve
[FAIL]
root@homsrv: ~#
So it seems that it needs a rebuild on every dovecot upgrade.
The current dovecot 2.1.10-1 and pigeonhole 0.3.3-1 work together.
Just a bit of background: I started looking after pigeonhole way back when it was in the AUR, and eventually I moved it to [community] since it was well used. And yes, an issue is that a pigeonhole binary built against a previous version of dovecot leads to mail delivery failure. Many people would forget to rebuild pigeonhole each time dovecot was updated and not notice that their mail was not arriving for a while. Hence, moving it to [community] with a hard dep against the current version of dovecot also had the effect that the worst that would happen for users is that they would not be able to update their system until dovecot was rebuilt and the versions were re-aligned. IMO this was preferable to missing mail and others seemed to agree in a brief discussion on the mailing lists.
But yes, it seems that the ideal solution (and the best option for users) would be that both packages are built and released together. Since I'm a TU and not a Dev, I can't touch dovecot, which is in [extra] (and Andy does a great job there anyway, and I woudln't want to interfere). In order to achieve this, perhaps Andy you could either:
1) Rebuild and re-release pigeonhole when you push a dovecot update, and I will continue to maintain it in all other ways, or
2) Maintain them together in [extra]?
I'm happy to help however is useful. I'm also totally fine with giving up pigeonhole maintainership if Andy thinks it's better to maintain them together.
But I personally don't use pigeonhole at all and don't plan to do so. Any help in the future is welcome.
I'm happy to help however I can. Let me know if you want me to do some testing, for example.