Ubuntu – PHP5-FPM (PHP 5.5) won’t install – can’t install libsystemd-daemon0


My server is down because I don't know how to fix this. I'm on Ubuntu 12.04 I use this PHP5 repository: http://ppa.launchpad.net/ondrej/php5/ubuntu precise main

I've never had a problem until today. A few hours ago, I did an apt-get upgrade and everything went fine until it reached the PHP5-FPM portion:

The following packages have unmet dependencies:
php5-fpm : Depends: libsystemd-daemon0 (>= 31) but it is not installable
E: Unable to correct problems, you have held broken packages.

I tried to install libsystemd-daemon0 but I get a notice that it has no installation candidate. Can someone tell me how to fix this without me pulling what's left of my hair out?

Best Answer

From this moment, the solution should very easy, just do:

apt-get update
apt-get upgrade

Since it seems that adding another PPAs is too complicated, I have merged all necessary packages into the main repository, so this should not happen anymore.

Edit: JFTR the php5-fpm no longer depends on any systemd component, so it can be installed without the hassle of pulling libsystemd-daemon0.