[Bug 423071] Re: PHP5 now depends on libapache2-mod-php5 even if lighttpd installed

Andrew Oakley andrew at aoakley.com
Wed Sep 2 16:01:58 BST 2009


I have removed php5 metapackage and this allowed me to complete apt-get
dist-upgrade without installing apache and retaining the other php5-
packages.

Ondrej - bearing in mind I removed php5:

root at isis:~# date
Wed Sep  2 15:57:43 BST 2009
root at isis:~# apt-cache policy php5
php5:
  Installed: (none)
  Candidate: 5.2.4-2ubuntu5.7
  Version table:
     5.2.4-2ubuntu5.7 0
        500 http://archive.ubuntu.com hardy-updates/main Packages
        500 http://security.ubuntu.com hardy-security/main Packages
     5.2.4-2ubuntu5 0
        500 http://archive.ubuntu.com hardy/main Packages
root at isis:~# apt-cache show php5
Package: php5
Priority: optional
Section: web
Installed-Size: 20
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Original-Maintainer: Debian PHP Maintainers <pkg-php-maint at lists.alioth.debian.org>
Architecture: all
Version: 5.2.4-2ubuntu5.7
Depends: libapache2-mod-php5 (>= 5.2.4-2ubuntu5.7) | php5-cgi (>= 5.2.4-2ubuntu5.7), php5-common (>= 5.2.4-2ubuntu5.7)
Filename: pool/main/p/php5/php5_5.2.4-2ubuntu5.7_all.deb
Size: 1086
MD5sum: bdd4fc7dcfb03fb949c64cb32b42d991
SHA1: f7b568f049eff614b1dc0e79cbaceecb222eae08
SHA256: f9e80364ed293cb9578d5d120db25d369cfb8551762e803920e67822f93bc880
Description: server-side, HTML-embedded scripting language (meta-package)
 This package is a meta-package that, when installed, guarantees that you
 have at least one of the four server-side versions of the PHP5 interpreter
 installed.  Removing this package won't remove PHP5 from your system, however
 it may remove other packages that depend on this one.
 .
 PHP5 is an HTML-embedded scripting language. Much of its syntax is borrowed
 from C, Java and Perl with a couple of unique PHP-specific features thrown
 in. The goal of the language is to allow web developers to write dynamically
 generated pages quickly.
 .
 Homepage: http://www.php.net/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

Package: php5
Priority: optional
Section: web
Installed-Size: 20
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Original-Maintainer: Debian PHP Maintainers <pkg-php-maint at lists.alioth.debian.org>
Architecture: all
Version: 5.2.4-2ubuntu5
Depends: libapache2-mod-php5 (>= 5.2.4-2ubuntu5) | php5-cgi (>= 5.2.4-2ubuntu5), php5-common (>= 5.2.4-2ubuntu5)
Filename: pool/main/p/php5/php5_5.2.4-2ubuntu5_all.deb
Size: 1076
MD5sum: 6a1c4f5bbc2a2a50f82edb87f1bc8755
SHA1: 25487a0ceea24b2aa6c0aa61a05c64d0c1d416be
SHA256: f90dca1b16592e4d884803be2bf5ad23b69aaf951c07f12d1a32983a26637fd7
Description: server-side, HTML-embedded scripting language (meta-package)
 This package is a meta-package that, when installed, guarantees that you
 have at least one of the four server-side versions of the PHP5 interpreter
 installed.  Removing this package won't remove PHP5 from your system, however
 it may remove other packages that depend on this one.
 .
 PHP5 is an HTML-embedded scripting language. Much of its syntax is borrowed
 from C, Java and Perl with a couple of unique PHP-specific features thrown
 in. The goal of the language is to allow web developers to write dynamically
 generated pages quickly.
 .
 Homepage: http://www.php.net/
Bugs: mailto:ubuntu-users at lists.ubuntu.com
Origin: Ubuntu

root at isis:~# apt-get install php5-cgi php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5-cgi is already the newest version.
The following NEW packages will be installed:
  php5
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1086B of archives.
After this operation, 20.5kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com hardy-updates/main php5 5.2.4-2ubuntu5.7 [1086B]
Fetched 1086B in 0s (0B/s)
Selecting previously deselected package php5.
(Reading database ... 36469 files and directories currently installed.)
Unpacking php5 (from .../php5_5.2.4-2ubuntu5.7_all.deb) ...
Setting up php5 (5.2.4-2ubuntu5.7) ...
root at isis:~#

So by removing and then re-installing PHP5, the problem now doesn't
appear. Very odd.

-- 
PHP5 now depends on libapache2-mod-php5 even if lighttpd installed
https://bugs.launchpad.net/bugs/423071
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.



More information about the Ubuntu-server-bugs mailing list