I've experienced this bug while upgrading through update-manager (Ubuntu 14.04.2 LTS), here goes the excerpt from APT history log:
Start-Date: 2015-03-19 10:35:14 Commandline: aptdaemon role='role-commit-packages' sender=':1.72' Install: libapache2-mod-php5:amd64 (5.5.9+dfsg-1ubuntu4.7, automatic), apache2-data:amd64 (2.4.7-1ubuntu4.4, automatic), apache2:amd64 (2.4.7-1ubuntu4.4, automatic), apache2-bin:amd64 (2.4.7-1ubuntu4.4, automatic) Upgrade: php5-fpm:amd64 (5.5.9+dfsg-1ubuntu4.6, 5.5.9+dfsg-1ubuntu4.7), php5-common:amd64 (5.5.9+dfsg-1ubuntu4.6, 5.5.9+dfsg-1ubuntu4.7), php5-curl:amd64 (5.5.9+dfsg-1ubuntu4.6, 5.5.9+dfsg-1ubuntu4.7), php5-readline:amd64 (5.5.9+dfsg-1ubuntu4.6, 5.5.9+dfsg-1ubuntu4.7), php5:amd64 (5.5.9+dfsg-1ubuntu4.6, 5.5.9+dfsg-1ubuntu4.7), libxfont1:amd64 (1.4.7-1ubuntu0.1, 1.4.7-1ubuntu0.2), php5-cli:amd64 (5.5.9+dfsg-1ubuntu4.6, 5.5.9+dfsg-1ubuntu4.7), php5-mysqlnd:amd64 (5.5.9+dfsg-1ubuntu4.6, 5.5.9+dfsg-1ubuntu4.7), php5-gd:amd64 (5.5.9+dfsg-1ubuntu4.6, 5.5.9+dfsg-1ubuntu4.7) End-Date: 2015-03-19 10:37:05 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1336713 Title: Nginx+PHP-FPM - Apache gets installed automatically on PHP update Status in apt package in Ubuntu: Confirmed Status in php5 package in Ubuntu: Confirmed Bug description: This was originally posted as a question. See: https://answers.launchpad.net/ubuntu/+source/php5/+question/250691 --- My 14.04 machine that runs Nginx with PHP-FPM received updates for PHP and somehow Apache was automatically installed. Here is an excerpt from APT history log: Install: libapache2-mod-php5:amd64 (5.5.9+dfsg-1ubuntu4.1, automatic), libaprutil1-dbd-sqlite3:amd64 (1.5.3-1, automatic), libaprutil1-ldap:amd64 (1.5.3-1, automatic), apache2-data:amd64 (2.4.7-1ubuntu4, automatic), apache2:amd64 (2.4.7-1ubuntu4, automatic), apache2-bin:amd64 (2.4.7-1ubuntu4, automatic) Looking at the dependencies for the php5 package I don't understand why this happened: Depends: libapache2-mod-php5 (>= 5.5.9+dfsg-1ubuntu4.1) | libapache2-mod-php5filter (>= 5.5.9+dfsg-1ubuntu4.1) | php5-cgi (>= 5.5.9+dfsg-1ubuntu4.1) | php5-fpm (>= 5.5.9+dfsg-1ubuntu4.1), php5-common (>= 5.5.9+dfsg-1ubuntu4.1) With Nginx configured to listen on port 80, this unwanted Apache installation would interfere at startup (this exactly happened sometime ago on an older release). I don't think that this behaviour is correct. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1336713/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

