Automatic upgrade to mail2

Curious about the Status because while testing / working on other stuff came across a unpleasant side effect of the comps solution to pull the latest nethserver-mail stack in;

If a group containing nethserver-mail2 is removed it removes the mail2 packages and packages depending on mail2 too.
To reproduce:
Install from software center Email , Roundcube web mail and WebTop 5 groupware (or sogo).
then remove Roundcube web mail.
or shortcut:
Install Email and on the command line remove (not installed) roundcubemail group
yum remove @"Roundcube web mail"

Besides this an other observation;

It is impossible to reinstall a mail2 package: it conflicts with it self: :disappointed_relieved:

# yum reinstall nethserver-mail2-server
..
ERROR with transaction check vs depsolve:
nethserver-mail-server conflicts with nethserver-mail2-server-2.2.8-1.ns7.noarch
nethserver-mail-server conflicts with (installed) nethserver-mail2-server-2.2.8-1.ns7.noarch

I am convinced now versioning at provides and obsoletes is mandatory.

2 Likes