Ubuntu 18.04 - install z-push-components conflicts with installed server-packages
-
Hi there,
on a a fresh Ubuntu 18.x installation with apt-support we have installed and configured the “kopano-server-packages” and “kopano-webapp”. The services are running, and we can use kopano with the webapp and everythins seems to be fine.
Now we want to enable the use of outlook for the clients and we noticed that we need kopano zpush -components on the server. On installing these packages, we got conflicts with other installed components:
Vorbereitung zum Entpacken von .../kopano-libs_8.5.5-0ubuntu1_amd64.deb ... Entpacken von kopano-libs:amd64 (8.5.5-0ubuntu1) ... dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/kopano-libs_8.5.5-0ubuntu1_amd64.deb (--unpack): Versuch, »/usr/lib/mapi.d/kopano.inf« zu überschreiben, welches auch in Paket kopano-client 8.6.8.0-0+21.1 ist dpkg-deb: Fehler: Unterprozess einfügen wurde durch das Signal (Datenübergabe unterbrochen (broken pipe)) getötet Vorbereitung zum Entpacken von .../php-mapi_8.5.5-0ubuntu1_amd64.deb ... Entpacken von php-mapi (8.5.5-0ubuntu1) ... dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/php-mapi_8.5.5-0ubuntu1_amd64.deb (--unpack): Versuch, »/usr/lib/php/20170718/mapi.so« zu überschreiben, welches auch in Paket php7-mapi 8.6.8.0-0+21.1 ist dpkg-deb: Fehler: Unterprozess einfügen wurde durch das Signal (Datenübergabe unterbrochen (broken pipe)) getötet Fehler traten auf beim Bearbeiten von: /var/cache/apt/archives/kopano-libs_8.5.5-0ubuntu1_amd64.deb /var/cache/apt/archives/php-mapi_8.5.5-0ubuntu1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
So it seems there cannot be installed php-mapi and php7-mapi at the same time. How we can solve this issue?
If you need further informations i will try to post it here.Andre
-
Hi @Andre ,
it looks like you are mixing packages provided by Ubuntu with the ones provided by Kopano. Always make sure to follow the official documentation, for Z-Push you can find it at https://wiki.z-hub.io/display/ZP/Installation.
For the 8.7 release (now already in master) we are adding explicit conflicts and replace arguments to our packages to prevent people from accidentally mixing these packages.
-
Ohh yes - you are right. The repository URL from z-push was missing in my configuration.
After adding the line;deb http://repo.z-hub.io/z-push:/final/Ubuntu_18.04/ /
… to the kopano.list i got the right one.
Thanks a lot.
Andre