Bug 47613 - Unable to install Kopano Core on Backup/Slave if Dovecot is installed on Master
Unable to install Kopano Core on Backup/Slave if Dovecot is installed on Master
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.3
Other All
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-08-18 22:32 CEST by Michael Grandjean
Modified: 2018-08-20 09:52 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.103
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Grandjean univentionstaff 2018-08-18 22:32:43 CEST
I assume this is an App Center bug, because the dependencies in debian/control of kopano4ucs* look fine, imho (https://stash.z-hub.io/projects/K4U/repos/kopano4ucs/browse/debian/control).

How to reproduce:

# "univention-app info" on Master:
UCS: 4.3-1 errata202
Installed: mailserver=12.0
Upgradable:

# "univention-app info" on Slave:
UCS: 4.3-1 errata202
Installed:
Upgradable:

1. Open the App Center module on the Slave
2. Try to install "Kopano Core" on the Slave
3. The dry-runs should look fine
4. Actually start the installation
5. The installation stalls around 50%

What actually happens:
-> kopano4ucs-{lib,schema,udm} is going to be installed on the Master
-> For some reason, the package conflicts of Kopano Core / "kopano4ucs" are checked (not the conflicts of kopano4ucs-{lib,schema,udm})
-> If the UCS Mailstack is installed on the Master, a package conflict is detected and the installation aborts

On the Slave:
/var/log/univention/management-console-module-appcenter.log
> [...]
> 18.08.18 22:12:17.511  MODULE      ( PROCESS ) : Installiere LDAP Pakete auf ucs01.future.industries.example.org
> 18.08.18 22:12:42.725  MODULE      ( PROCESS ) : Going to install Kopano Core (8.6.2.1)
> 18.08.18 22:12:43.111  MODULE      ( WARN    ) : ucs01.future.industries.example.org: (must_have_no_conflicts_packages) The application conflicts with the following packages: [u'univention-mail-server', u'univention-mail-dovecot', u'dovecot-imapd', u'dovecot-core']
> 18.08.18 22:12:43.111  MODULE      ( WARN    ) : ucs01.future.industries.example.org: Unable to install kopano-core. Aborting...

On the Master:
/var/log/univention/appcenter.log
> [...]
>  15394 actions.install                  18-08-18 22:12:31 [    INFO]: The following packages would be INSTALLED/UPGRADED:
>  15394 actions.install                  18-08-18 22:12:31 [    INFO]:  * kopano4ucs-lib
>  15394 actions.install                  18-08-18 22:12:31 [    INFO]:  * kopano4ucs-schema
>  15394 actions.install                  18-08-18 22:12:31 [    INFO]:  * kopano4ucs-udm
> [...]
>  15394 actions.install                  18-08-18 22:12:31 [    INFO]: Going to install Kopano Core (8.6.2.1)
>  15394 actions.install                  18-08-18 22:12:31 [    INFO]: (must_not_have_concurrent_operation) Another package operation is in progress
>  15394 actions.install                  18-08-18 22:12:31 [CRITICAL]: (must_have_no_conflicts_packages) The application conflicts with the following packages: [u'univention-mail-server', u'univention-mail-dovecot', u'dovecot-imapd', u'dovecot-core']
>  15394 actions.install                  18-08-18 22:12:31 [CRITICAL]: Unable to install kopano-core. Aborting...