Ubuntu 14.04 Update to php5.6 failed (libapache2-mod-php5.6)

Asked by Markus

Hello,

today, I wanted to upgrade my Ubuntu 14.04 LTS with included php5.5 to php5.6 with the help of the repository of Ondrej (ppa:ondrej/php).
The Installation of php5.6 itself works fine, but the Installation of libapache2-mod-php5.6 aborts with errors:

-------------------
apt-get install libapache2-mod-php5.6
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden NEUEN Pakete werden installiert:
  libapache2-mod-php5.6
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 1.207 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 4.428 kB Plattenplatz zusätzlich benutzt.
Holen: 1 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main libapache2-mod-php5.6 amd64 5.6.26-1+deb.sury.org~trusty+1 [1.207 kB]
Es wurden 1.207 kB in 0 s geholt (1.552 kB/s).
Vormals nicht ausgewähltes Paket libapache2-mod-php5.6 wird gewählt.
(Lese Datenbank ... 127409 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../libapache2-mod-php5.6_5.6.26-1+deb.sury.org~trusty+1_amd64.deb ...
Entpacken von libapache2-mod-php5.6 (5.6.26-1+deb.sury.org~trusty+1) ...
libapache2-mod-php5.6 (5.6.26-1+deb.sury.org~trusty+1) wird eingerichtet ...
usage: fail($reason, $retval) at /usr/sbin/a2query line 168.
usage: fail($reason, $retval) at /usr/sbin/a2query line 168.
usage: fail($reason, $retval) at /usr/sbin/a2query line 168.
usage: fail($reason, $retval) at /usr/sbin/a2query line 168.
/var/lib/dpkg/info/libapache2-mod-php5.6.postinst: 284: [: !=: unexpected operator
apache2_switch_mpm prefork: No action required
dpkg: Fehler beim Bearbeiten des Paketes libapache2-mod-php5.6 (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 libapache2-mod-php5.6
E: Sub-process /usr/bin/dpkg returned an error code (1)
-------------------

Can someone help me?

thanks and best regards
Markus

edit: same Problem, but with packet libapache2-mod-php5 was fixed by Ondrej here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755057

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Then I suggest you contact the PPA maintainer. Their package is causing the issue.

Can you help with this problem?

Provide an answer of your own, or ask Markus for more information if necessary.

To post a message you must log in.