mail-in-a-box / mailinabox

Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
https://mailinabox.email/
Creative Commons Zero v1.0 Universal
14.05k stars 1.44k forks source link

php-xml over Ubuntu 18.04 Digital Ocean Error Instalation. #1589

Open baenacoco opened 5 years ago

baenacoco commented 5 years ago

I am installing mail in a box over a Digital Ocean Ubuntu 18.04 that is recommended.

But this is an error that ocurring during the installation:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package php-xsl is a virtual package provided by:
  php7.0-xml 7.0.4-7ubuntu2
  php7.2-xml 7.2.19-0ubuntu0.18.04.1
You should explicitly select one to install.

I solve that if I modify that: ~/mailinabox/setup/zpush.sh find this line : php-soap php-imap libawl-php php-xsl and change for this php-soap php-imap libawl-php

I hope that this used the php7.0-xsl and works fine. If this is right I will transmit it later.

Thanks.

smahi commented 4 years ago

@baenacc I have the same issue and I solved it by changing php-xsl to php-xml, because the apt package manager gave me the hint, it says that php-xsl is a virtual package, the real one is php-xml.

Hopefully this will helps.

guyzmo commented 4 years ago

same problem happened to me, when I upgraded to 0.44 I had to change to php7.2-xsl and when upgrading to 0.47 I had to change to php-xml as suggested above. I'm running Ubuntu 18.04.5 LTS in a virtual machine.