ConPaaS-team / conpaas

ConPaaS: integrated runtime environment for elastic cloud applications
http://www.conpaas.eu
BSD 3-Clause "New" or "Revised" License
14 stars 3 forks source link

Frontend Installation: problem with libapache2-mod-php5 #84

Closed engbert closed 9 years ago

engbert commented 9 years ago

1.3 Frontend Installation says: After having uncompressed it you should install the required Debian packages:

$ sudo apt-get install libapache2-mod-php5 php5-curl
which crashes:
The following packages have unmet dependencies:
 libapache2-mod-php5 : Depends: php5-common (= 5.3.3-7+squeeze19) but 5.3.26-1~dotdeb.0 is to be installed
                       Recommends: php5-cli but it is not going to be installed
E: Broken packages

The cure:

$ sudo apt-get remove php5-common
# repeat the install command
$ sudo apt-get install libapache2-mod-php5 php5-curl

should go into the troubleshooting section or inline with the original command?

gpierre42 commented 9 years ago

This is a Linux issue rather than a ConPaaS issue. It wouldn't have happened if you had only installed the official packages from your Linux distribution :-)

I don't think it is necessary to mention this in documentation. @tcrivat, what do you think?

tcrivat commented 9 years ago

I agree with @gpierre42, this is not related to ConPaaS.

This happened because you had php5-common version 5.3.26 installed, but libapache2-mod-php5 requires version 5.3.3.