[Bug 1333745] Re: updating php5 metapackage brings in unnecessarily libapache2-mod-php5
Stoyan Stoyanov
stoyansbg at gmail.com
Thu Jun 26 18:04:00 UTC 2014
This seems to be related to a bug reported years ago.
(https://bugs.launchpad.net/ubuntu/+source/apt/+bug/423071)
As with the other bug, apt seems to ignore the fact that the already
installed php5-cgi pakage, upgrade for which is also available, once
upgraded will satisfy the first ("OR-ed") part of the dependency.
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)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1333745
Title:
updating php5 metapackage brings in unnecessarily libapache2-mod-php5
Status in “apt” package in Ubuntu:
New
Bug description:
Description: Ubuntu 14.04 LTS
Release: 14.04
I have a system with the following packages installed:
ii php5 5.5.9+dfsg-1ubuntu4 all server-side, HTML-embedded scripting language (metapackage)
ii php5-cgi 5.5.9+dfsg-1ubuntu4 amd64 server-side, HTML-embedded scripting language (CGI binary)
ii php5-common 5.5.9+dfsg-1ubuntu4 amd64 Common files for packages built from the php5 source
ii php5-gd 5.5.9+dfsg-1ubuntu4 amd64 GD module for php5
ii php5-json 1.3.2-2build1 amd64 JSON module for php5
ii php5-mysql 5.5.9+dfsg-1ubuntu4 amd64 MySQL module for php5
If I attempt to update these, libapache2-mod-php5 gets pulled in as a
dependency although the installed php5-cgi should be sufficient to
satisfy the dependency requirements of php5:
The following NEW packages will be installed:
libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.1)
php5-cli (5.5.9+dfsg-1ubuntu4.1)
php5-readline (5.5.9+dfsg-1ubuntu4.1)
The following packages will be upgraded:
php5 (5.5.9+dfsg-1ubuntu4 => 5.5.9+dfsg-1ubuntu4.1)
php5-cgi (5.5.9+dfsg-1ubuntu4 => 5.5.9+dfsg-1ubuntu4.1)
php5-common (5.5.9+dfsg-1ubuntu4 => 5.5.9+dfsg-1ubuntu4.1)
php5-gd (5.5.9+dfsg-1ubuntu4 => 5.5.9+dfsg-1ubuntu4.1)
php5-mysql (5.5.9+dfsg-1ubuntu4 => 5.5.9+dfsg-1ubuntu4.1)
If I update the php5-* packages first and then attempt to update php5
everything works as expected.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1333745/+subscriptions
More information about the foundations-bugs
mailing list