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:

r...@isis:~# date
Wed Sep  2 15:57:43 BST 2009
r...@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
r...@isis:~# apt-cache show php5
Package: php5
Priority: optional
Section: web
Installed-Size: 20
Maintainer: Ubuntu Core Developers <[email protected]>
Original-Maintainer: Debian PHP Maintainers 
<[email protected]>
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 <[email protected]>
Original-Maintainer: Debian PHP Maintainers 
<[email protected]>
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:[email protected]
Origin: Ubuntu

r...@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) ...
r...@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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to